[OpenIndiana-discuss] pkg: No image found.

Milan Jurik milan.jurik at xylab.cz
Fri May 11 19:23:23 UTC 2012


Hi Rich,

Richard Lowe píše v pá 11. 05. 2012 v 11:17 -0400:
> That sounds like the pkg in the zone didn't get updated, and doesn't
> speak the new image format (which the pkg in the GZ updated it to).
> 

and you are right:

root at housenka:~# pkg info package/pkg
          FMRI:
pkg://openindiana.org/package/pkg@0.5.11,5.11-0.151.1.4:20120503T053231Z


root at housenka:~# pkg -R /zones/illumos/root info package/pkg
          FMRI:
pkg://openindiana.org/package/pkg@0.5.11,5.11-0.151.1.2:20120209T215350Z


root at housenka:~# pkg -R /zones/illumos/root install -v package/pkg
No updates necessary for this image.   


root at housenka:~# pkg -R /zones/illumos/root install -v
pkg://openindiana.org/package/pkg@0.5.11,5.11-0.151.1.4:20120503T053231Z
Creating Plan /                        
pkg install: No matching version of package/pkg can be installed:
  Reject:
pkg://openindiana.org/package/pkg@0.5.11,5.11-0.151.1.4:20120503T053231Z
  Reason:  This version is excluded by installed incorporation
pkg://openindiana.org/consolidation/ips/ips-incorporation@0.5.11,5.11-0.151.1.2:20120209T214215Z


root at housenka:~# pkg -R /zones/illumos/root install -v
pkg://openindiana.org/consolidation/ips/ips-incorporation@0.5.11,5.11-0.151.1.4:20120503T051910Z
           Packages to install:         6
            Packages to update:         8
     Estimated space available:   1.41 TB
Estimated space to be consumed: 213.21 MB
       Create boot environment:        No
Create backup boot environment:        No
            Services to change:         1
          Rebuild boot archive:        No

Changed packages:
openindiana.org
  library/python-2/cherrypy-26
    None -> 3.1.2,5.11-0.151.1.4:20120507T180059Z
  library/python-2/m2crypto-26
    None -> 0.21.1,5.11-0.151.1.4:20120507T180102Z
  library/python-2/mako-26
    None -> 0.4.1,5.11-0.151.1.4:20120507T180104Z
  library/python-2/ply-26
    None -> 3.1,5.11-0.151.1.4:20120507T180106Z
  library/python-2/pybonjour-26
    None -> 1.1.1,5.11-0.151.1.4:20120507T180107Z
  library/python-2/pycurl-26
    None -> 7.19.0.1,5.11-0.151.1.4:20120507T180108Z
  consolidation/ips/ips-incorporation
    0.5.11,5.11-0.151.1.2:20120209T214215Z ->
0.5.11,5.11-0.151.1.4:20120503T051910Z
  library/python-2/cherrypy
    3.1.2,5.11-0.151.1.2:20120209T215117Z ->
3.1.2,5.11-0.151.1.4:20120507T180059Z
  library/python-2/m2crypto
    0.20.0,5.11-0.151.1.2:20120209T215121Z ->
0.21.1,5.11-0.151.1.4:20120507T180103Z
  library/python-2/mako
    0.2.2,5.11-0.151.1.2:20120209T215124Z ->
0.4.1,5.11-0.151.1.4:20120507T180104Z
  library/python-2/ply
    3.1,5.11-0.151.1.2:20120209T215127Z ->
3.1,5.11-0.151.1.4:20120507T180106Z
  library/python-2/pybonjour
    1.1.1,5.11-0.151.1.2:20120209T215129Z ->
1.1.1,5.11-0.151.1.4:20120507T180108Z
  library/python-2/pycurl
    7.19.0.1,5.11-0.151.1.2:20120209T215129Z ->
7.19.0.1,5.11-0.151.1.4:20120507T180109Z
  package/pkg
    0.5.11,5.11-0.151.1.2:20120209T215350Z ->
0.5.11,5.11-0.151.1.4:20120503T053231Z
Services:
  restart_fmri:
    svc:/system/manifest-import:default
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                14/14     403/403      2.5/2.5

PHASE                                        ACTIONS
Removal Phase                                215/215 
Install Phase                                300/300 
Update Phase                                 451/451 

PHASE                                          ITEMS
Package State Update Phase                     22/22 
Package Cache Update Phase                       8/8
Image State Update Phase                         2/2 


And now it works. So it seems that attach -u is not doing what's
expected from me. I had to do 'pkg update' in the zone then also.

Best regards,

Milan





More information about the OpenIndiana-discuss mailing list