On Fri, May 08, 2009 at 03:33:46PM -0500, Shawn Walker wrote: > lucia lai wrote: >> Shawn Walker wrote: >>> lucia lai wrote: >>>> Shawn Walker wrote: >>>>> lucia lai wrote: >>>>>> Hi, >>>>>> >>>>>> I'm creating an incorporation package, and have a dependency on >>>>>> our own packages plus the "entire" package: >>>>>> >>>>>> # pkg contents -m ha-cluster-incorporation | grep depend >>>>>> [ snip ] >>>>>> depend [email protected] type=incorporate >>>>>> depend [email protected] >>>>>> type=incorporate >>>>>> depend [email protected] >>>>>> type=incorporate >>>>>> depend [email protected] type=incorporate >>>>>> depend [email protected] type=incorporate >>>>>> >>>>>> >>>>>> I'm playing a few things with it, and try to do image-update >>>>>> from b108 to b111. Have some problems: >>>>> >>>>> The problem is with the osol-re repository itself: >>>>> >>>>> http://osol-re/catalog/0/ >>>>> >>>>> ...the catalog is empty, and there are likely other problems as well. >>>> >>>> Thanks Shawn. I was actually using http://ipkg.sfbay/dev, though >>>> called it "osol". Though I was using http://osol-re earlier. I just >>>> renamed the "ipkg.sgbay/dev" and tried again, and still got the >>>> same error. From the browser http://ipkg.sfbay/dev looks good. >>> >>> The error would have changed, even slightly, since it contains the >>> address of the repository it is connecting to. Can you please post >>> the exact error text now that you are pointing at ipkg.sfbay/dev? >>> >> Now I noticed the error still points to 'http://osol-re:80' even after >> it is not in the authority list: > > Not quite, you specified a /mntpnt in your install command, but not when > you used the authority command. > >> >> # pkg authority > > This needs to be: > > pkg -R /mntpnt authority > > If you want to change the publishers on the /mntpnt, you'll have to: > > pkg -R /mntpnt set-authority ...
In the case where you're going to perform multiple operations on the same non-default package image, it may make sense to set PKG_IMAGE=/mntpnt in the environment instead of invoking every command with -R. If nothing else, it prevents you from accidentally modifying / when you forget to add the -R option to a command. -j _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
