On 03/17/10 12:57, Richard Lowe wrote: > Sunay Tripathi wrote: >> On 03/17/10 12:22, Richard Lowe wrote: >>> Sunay Tripathi wrote: >> freya(27)% pkg publisher >> PUBLISHER TYPE STATUS URI >> opensolaris.org (preferred) origin online >> http://pkg.opensolaris.org/dev/ >> on-nightly (non-sticky, disabled) origin online >> http://localhost:13000/ >> contrib origin online >> http://pkg.opensolaris.org/contrib/ >> extra origin online >> https://pkg.sun.com/opensolaris/extra/ >> on-extra origin online >> http://localhost:13001/ >> freya(28)% pkg install SUNWslim-utils >> pkg: 3/4 catalogs successfully updated: >> >> Framework error: code: 7 reason: couldn't connect to host >> URL: 'http://localhost:13001/catalog/0/'. (happened 4 times) > > You need to do the same to on-extra > >>> >>>> pkg list: no packages matching 'SUNWslim-utils, slim_install' known or >>>> installed >>>> Traceback (most recent call last): >>>> File "/usr/share/distro_const/im_pop.py", line 516, in<module> >>>> "repository") >>> >>> I think this is because it's trying to install them into the target >>> image. Which would probably be because your DC config doesn't include >>> an entry for the opensolaris.org publisher from which it would normally >>> find these packages. You need to have both an opensolaris.org publisher >>> *and* an on-nightly publisher listed in the DC manifest when building >>> media containing on-nightly bits[1]. There's not really enough info there >>> to say for sure though. >> >> I have both enabled. Sorry I should have provided a diff (see >> below). BTW, I have tried it with same diffs as in the blog you are >> pointed to. > > Not quite. What you've done is fix the post-install default authority > to be opensolaris.org and pkg.opensolaris.org/dev > > You don't seem to have pkg_repo_addl_authority changes that are in > Liane's post.
Actually, I had tried it with exactly the same diffs as Liane's blog before. But now that I went over it with a closer look, I noticed that I wasn't exact enough and I had missed uncommenting the pkg_repo_addl_authority. Anyway, starting again and fixing things, this seems to be working now. BTW, I have another question now. I can keep my workspace and the machine that I am building on in sync but as with project workspaces, they will go out of sync with ipkg.sfbay/dev. So is there a way to get SUNWslim-utils, slim_install or any other packages locally based on a build? Thanks for the help. Sunay
