On Fri, Nov 13, 2009 at 07:43:39AM +1000, James C. McPherson wrote:
> 
> Hi folks,
> I image-updated to snv_127 yesterday and want to create a non-global
> zone. The zone create and install I've done many times before now
> with SXCE, but with IPS it's failing on the installation stage with
> an error which google leads me to think should have been fixed already:
> 
> 
> 
> 
> =========================================================
> r...@blinder:/var/crash/blinder# zoneadm list -cip
> 0:global:running:/::native:shared
> -:mailzone:configured:/zones/mailzone::ipkg:excl
> r...@blinder:/var/crash/blinder# zoneadm list -civ
>   ID NAME             STATUS     PATH                           BRAND    IP
>    0 global           running    /                              native   
> shared
>    - mailzone         configured /zones/mailzone                ipkg     excl
> r...@blinder:/var/crash/blinder# pkg publisher
> PUBLISHER                             TYPE     STATUS   URI
> osol-dev                 (preferred)  origin   online
> http://pkg.opensolaris.org/dev/
> opensolaris.org                       origin   online
> http://pkg.opensolaris.org/release/
> osol-contrib                          origin   online
> http://pkg.opensolaris.org/contrib/
> osol-extras                           origin   online
> https://pkg.sun.com/opensolaris/extra/
> osol-pending                          origin   online
> http://pkg.opensolaris.org/pending/
> vlc-bins                              origin   online
> http://ips.homeunix.com:10000/
> r...@blinder:/var/crash/blinder# zoneadm -z mailzone install
>    Publisher: Using osol-dev (http://pkg.opensolaris.org/dev/).
>    Publisher: Using vlc-bins (http://ips.homeunix.com:10000/).
>    Publisher: Using osol-pending (http://pkg.opensolaris.org/pending/).
>    Publisher: Using osol-contrib (http://pkg.opensolaris.org/contrib/).
>    Publisher: Using opensolaris.org (http://pkg.opensolaris.org/release/).
>        Image: Preparing at /zones/mailzone/root.
> Refreshing catalog 1/1 osol-dev
> The catalog retrieved for publisher 'osol-dev' only contains package
> data for these publisher(s): opensolaris.org.  To resolve this
> issue, update this publisher to use the correct repository origin,
> or add one of the listed publishers using this publisher's
> repository origin.
> 
> To correct the repository origin, execute the following command as a
> privileged user:
> 
> pkg set-publisher -O <url> osol-dev
> 
> To add a new publisher using this publisher's repository origin,
> execute the following command as a privileged user:
> 
> pkg set-publisher -O http://pkg.opensolaris.org/dev/ <publisher>
> 
> After the new publisher has been added, this one should be removed
> by executing the following command as a privileged user:
> 
> pkg unset-publisher osol-dev
> 
>        Cache: Using /var/pkg/download.
> Sanity Check: Looking for 'entire' incorporation.
> ERROR: Unable to locate the incorporation
> '[email protected],5.11-0.127:20091111T131831Z' in the preferred
> publisher 'osol-dev'.
> Use -P to supply a publisher which contains this package.
> r...@blinder:/var/crash/blinder#
> =========================================================
> 
> 
> What have I missed?

This flag day:

http://mail.opensolaris.org/pipermail/pkg-discuss/2009-October/018051.html

You shouldn't have both /dev and /release configured in your image.
Pick one, make sure it's named opensolaris.org either way, and remove
osol-dev.

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

Reply via email to