Shawn Walker wrote:
Yes, but there a few things that don't make sense. If I start a depot server (using a pkg gate tip workspace):

./depot.py -p 8009 -d /tmp/repo --content-root=`pwd`

...and I then publish to it using pkgsend:

REPO=http://localhost:8009
eval `pkgsend -s $REPO open system/[email protected]`
pkgsend -s $REPO add set name="description" value="Package to test package names with slashes and cross-authorities"
pkgsend -s $REPO add dir path=tmp/foo mode=0755 owner=root group=bin
pkgsend -s $REPO add file /etc/group path=tmp/group mode=0755 owner=root group=bin
pkgsend -s $REPO add depend type=require fmri=pkg:/SUNWcsl
pkgsend -s $REPO close

...it works fine.

Did you by chance start the depot server, then remove the contents of that directory, and then publish to it?

No. I do start the depot server initially, knowing that there isn't an
/export/home/pkg-solaris/repo-6941 directory. That's the way I've
always done it and it's never been a problem before. I certainly
don't remove it after I've started it.


If you remove that directory completely, and then repeat your original steps does it still fail?

Yes, unless I then manually create those two directories.
It will then work.


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to