On Fri, May 02, 2008 at 04:50:49PM +0100, Rafael Vanoni wrote: > Danek Duvall wrote: >> On Fri, May 02, 2008 at 12:13:30PM +0100, Rafael Vanoni wrote: >> >>> Thanks for the feedback folks. I ran >>> >>> # pkg image-create -a localauth=http://localhost:10000 /sandbox/store-A/ >>> >>> and the error persisted. >> >> Huh. That's not good, though I'll note the path you were using in your >> original message was /sandbox/ips/pkg/src, not /sandbox/store-A. > > Yes, I wasn't under /sandbox/store-A.
Then you were running into the same problem as before. When you run a pkg command (other than image-create), you have to be somewhere inside the image you're trying to modify, or point at it with -R, or $PKG_IMAGE. So creating the image didn't help, because you didn't reference it later. I'm not sure what your set-authority command did, since it should only operate on an image just like pkg list. > I can try to reproduce this as Stephen asked. What's the best way to clean > the state ? You need to find a directory .org.opensolaris,pkg (or maybe a /var/pkg) somewhere on your system. I've no idea what your set-authority command modified, but if you can find it, delete that directory. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
