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. > To be precise, the nightly is from a clone from yeaterday and the system > where I am trying to build it was image-updated from opensolaris.org/dev > yesterday and onu'd from the same nightly. > > freya(32)% diff -U 2 /usr/share/distro_const/slim_cd/slim_cd_x86.xml > ./slim_cd_x86.xml > --- /usr/share/distro_const/slim_cd/slim_cd_x86.xml Mon Mar 15 16:08:58 2010 > +++ ./slim_cd_x86.xml Wed Mar 17 12:46:12 2010 > @@ -193,6 +193,6 @@ > <pkg_repo_default_authority> > <main > - url="http://pkg.opensolaris.org/release" > - authname="opensolaris.org"/> > + url="http://nvtbld-x:5500" > + authname="on-nightly"/> > <!-- > If you want to use one or more mirrors that are > @@ -230,5 +230,5 @@ > <post_install_repo_default_authority> > <main > - url="http://pkg.opensolaris.org/release" > + url="http://pkg.opensolaris.org/dev" > authname="opensolaris.org"/> > <!-- > @@ -281,5 +281,4 @@ > <pkg_name="entire at 0.5.11-0.build#/> > --> > - <pkg name="entire"/> > <pkg name="SUNWcsd"/> > <pkg name="SUNWcs"/> > > thanks, > Sunay > >> >> -- Rich >> >> [1] http://blogs.sun.com/lianep/entry/testing_on_changes_with_opensolaris
