Project

General

Profile

Actions

Bug #2716

closed

pkg is not updated in zones with prestable3

Added by Milan Jurik about 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
PKG (Image Packaging System)
Target version:
-
Start date:
2012-05-11
Due date:
2013-12-10
% Done:

100%

Estimated time:
1.00 h
Difficulty:
Medium
Tags:
pkg

Description

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@housenka:~# pkg info package/pkg
FMRI:
pkg:,5.11-0.151.1.4:20120503T053231Z

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

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

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

root@housenka:~# pkg -R /zones/illumos/root install -v
pkg:,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.

Actions #1

Updated by Ken Mays over 7 years ago

  • 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 h
  • 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.

Actions

Also available in: Atom PDF