[Pkg] [OpenIndiana Distribution - Bug #2716] (Closed) pkg is not updated in zones with prestable3

illumos project devnull at illumos.org
Tue Dec 10 20:18:54 UTC 2013


Issue #2716 has been updated by Ken Mays.

Due date set to 2013-12-10
Status changed from New to Closed
% Done changed from 0 to 100
Estimated time set to 1.00
Tags changed from needs-triage to pkg

Reviewed pkg -R /zones/illumos/root install -v with pkg5 (2013-12-10)/hipster. Will add
this to hipster wiki notes. Issue not observed or reported in current pkg5 revision/hipster as of today. Closing ticket.
----------------------------------------
Bug #2716: pkg is not updated in zones with prestable3
https://www.illumos.org/issues/2716

Author: Milan Jurik
Status: Closed
Priority: High
Assignee: OI PKG
Category: pkg (Image Packaging System)
Target version: 
Difficulty: Medium
Tags: pkg


After update to prestable3, pkg stopped to work in zones, except global zone.

Rich Lowe came with the root cause - package/pkg was not updated in zones except global zone with "attach -u".

More investigation and workaround by manual update:

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.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Pkg-team mailing list