[OpenIndiana-discuss] opensolaris non-global zone to OI 147

Anil replicase at gmail.com
Tue Dec 21 03:53:49 UTC 2010


I am trying to hack this to work, but this is quite annoying.
I tried doing a image-update on the zone root, after manually mounting it.

root at sjc:~# pkg -R /zones/sofa/root image-update
                Packages to remove:    56
               Packages to install:   110
                Packages to update:     3
           Create boot environment:    No
               Services to restart:     2
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              169/169 11648/11648  100.8/100.8

PHASE                                        ACTIONS
Removal Phase                              2643/2643
Install Phase                            18262/18262
Update Phase                               4292/4292

PHASE                                          ITEMS
Package State Update Phase                   172/172
Package Cache Update Phase                     59/59
Image State Update Phase                         2/2

---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://docs.sun.com/doc/821-1479
---------------------------------------------------------------------------
That for some reason only updated to build 134, instead of build 147. Why?

Then, I did zoneadm -z sofa attach -u.

[Monday, December 20, 2010 07:45:51 PM PST] Attaching...
[Monday, December 20, 2010 07:45:51 PM PST] existing
[Monday, December 20, 2010 07:45:51 PM PST]
[Monday, December 20, 2010 07:45:51 PM PST]   Sanity Check: Passed.
Looks like an OpenSolaris system.
[Monday, December 20, 2010 07:45:54 PM PST] preferred global
publisher: openindiana.org
[Monday, December 20, 2010 07:45:55 PM PST]        Global zone
version: entire at 0.5.11,5.11-0.147:20100914T054011Z
[Monday, December 20, 2010 07:45:55 PM PST]    Non-Global zone
version: entire at 0.5.11,5.11-0.134.0.2:20100528T233058Z

[Monday, December 20, 2010 07:45:55 PM PST]
Cache: Using /var/pkg/download.
[Monday, December 20, 2010 07:45:55 PM PST]   Updating non-global
zone: Output follows
pkg: No solution was found to satisfy constraints
[Monday, December 20, 2010 07:46:47 PM PST] ERROR: Could not update
attaching zone
[Monday, December 20, 2010 07:46:47 PM PST]
Result: Attach Failed.





On Mon, Dec 20, 2010 at 5:32 PM, Anil <replicase at gmail.com> wrote:
> Trying to upgrade OpenSolaris 2009.06 non-global zone to OI 147, using
> detach/attach method.
>
> root at sjc:~# pkg publisher
> PUBLISHER                             TYPE     STATUS   URI
> openindiana.org          (preferred)  origin   online
> http://pkg.openindiana.org/dev/
> opensolaris.org          (non-sticky) origin   online
> http://pkg.openindiana.org/legacy/
> root at sjc:~#
>
>
>
> root at sr1-sjc:~# zoneadm -z sofa attach -u
> Log File: /var/tmp/sofa.attach_log.YnayVp
> Attaching...
>
> preferred global publisher: openindiana.org
>       Global zone version: entire at 0.5.11,5.11-0.147:20100914T054011Z
>   Non-Global zone version: entire at 0.5.11,5.11-0.111:20090518T052643Z
>
>                     Cache: Using /var/pkg/download.
>  Updating non-global zone: Output follows
> Creating Plan |
> ERROR: Could not update attaching zone
>                    Result: Attach Failed.
> root at sr1-sjc:~#
>
>
> Log file:
> [Monday, December 20, 2010 05:24:31 PM PST] Log File:
> /var/tmp/sofa.attach_log.YnayVp
> [Monday, December 20, 2010 05:24:32 PM PST] Attaching...
> [Monday, December 20, 2010 05:24:32 PM PST] existing
> [Monday, December 20, 2010 05:24:33 PM PST]
> [Monday, December 20, 2010 05:24:33 PM PST]   Sanity Check: Passed.
> Looks like an OpenSolaris system.
> [Monday, December 20, 2010 05:24:36 PM PST] preferred global
> publisher: openindiana.org
> [Monday, December 20, 2010 05:24:37 PM PST]        Global zone
> version: entire at 0.5.11,5.11-0.147:20100914T054011Z
> [Monday, December 20, 2010 05:24:37 PM PST]    Non-Global zone
> version: entire at 0.5.11,5.11-0.111:20090518T052643Z
>
> [Monday, December 20, 2010 05:24:37 PM PST]
> Cache: Using /var/pkg/download.
> [Monday, December 20, 2010 05:24:37 PM PST]   Updating non-global
> zone: Output follows
> pkg: No solution was found to satisfy constraints
> [Monday, December 20, 2010 05:25:49 PM PST] ERROR: Could not update
> attaching zone
> [Monday, December 20, 2010 05:25:50 PM PST]
> Result: Attach Failed.
>
>
> How do I know what pkg's are not meeting the constraints?
>
> Thanks
>



More information about the OpenIndiana-discuss mailing list