Hello IPS experts,
I recently tried to image-update an internal SPARC machine from
OpenSolaris build 133 to build 138 using the internal development and
extras repos, but IPS installed build 134a instead. (I didn't do
anything special, just "pkg refresh; pkg install SUNWipkg; pkg
image-update --be-name=snv_138") I noticed that image-updating the 134a
boot environment created a build 138 BE. I'm not sure how pkg(5)
determines the most recent build, but the logic (or the internal 134a
release) is clearly broken: My system should have gone straight from 133
to 138.
Additionally, I have an ipkg-branded zone on the aforementioned machine
synced with build 133. I detached it and tried to use "attach -u", but
the attach operation failed while creating a plan. Adding "-v" to the
$PKG invocations in the brand's attach script revealed that the SAT
solver was failing to find solutions.
Ed Pilatowicz noted that he could successfully update the zone's
'entire' package to 135, but 136 and 137 failed:
---8<---
root kodiak [14:42:01 7]# pkg -R /tank/zones/kodiak-rie/root install -n
[email protected],5.11-0.135
root kodiak [14:54:01 0]# pkg -R /tank/zones/kodiak-rie/root install -n
[email protected],5.11-0.136
Creating Plan /Planning for install failed:
Use -v option for more details
pkg: No solution was found to satisfy constraints
root kodiak [14:54:44 1]# pkg -R /tank/zones/kodiak-rie/root list -a |
grep entire
entire 0.5.11-0.133 installed
u----
root kodiak [14:55:08 0]# pkg -R /tank/zones/kodiak-rie/root install -n
[email protected],5.11-0.137 Creating Plan /Planning for install failed:
Use -v option for more details
pkg: No solution was found to satisfy constraints
---8<---
Here's a sample of what pkg(5) spat when I tried to update the zone's
'entire' package to 136 with the "-v" option:
---8<---
Planning for install failed: package solver error
attempted operation: install
already installed packages:
pkg://extra/[email protected],5.11-0.111:20090428T173314Z
pkg://opensolaris.org/[email protected],5.11-0.133:20100216T061430Z
require: consolidation/sfw/sfw-incorporation
Requires one of:
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.134.0.1:20100423T210954Z,
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.134:20100302T010637Z,
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.135:20100312T044311Z,
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.138:20100430T005505Z,
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.136:20100327T030702Z,
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.133:20100216T104354Z
(INSTALLED),
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.137:20100409T142817Z
require: web/server/[email protected]
Requires one of:
pkg://opensolaris.org/web/server/[email protected],5.11-0.137:20100409T154606Z,
pkg://opensolaris.org/web/server/[email protected],5.11-0.134:20100302T072758Z,
pkg://opensolaris.org/web/server/[email protected],5.11-0.136:20100327T090310Z,
pkg://opensolaris.org/web/server/[email protected],5.11-0.134.0.1:20100424T003931Z,
pkg://opensolaris.org/web/server/[email protected],5.11-0.135:20100312T114530Z,
pkg://opensolaris.org/web/server/[email protected],5.11-0.133:20100216T171834Z
(INSTALLED),
pkg://opensolaris.org/web/server/[email protected],5.11-0.138:20100430T020713Z
pkg://opensolaris.org/[email protected],5.11-0.133:20100216T061439Z
require: consolidation/sfw/sfw-incorporation
Requires one of:
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.134.0.1:20100423T210954Z,
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.134:20100302T010637Z,
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.135:20100312T044311Z,
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.138:20100430T005505Z,
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.136:20100327T030702Z,
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.133:20100216T104354Z
(INSTALLED),
pkg://opensolaris.org/consolidation/sfw/[email protected],5.11-0.137:20100409T142817Z
[...]
require: consolidation/X/X-incorporation
Requires one of:
pkg://opensolaris.org/consolidation/X/[email protected],5.11-0.134:20100302T010343Z,
pkg://opensolaris.org/consolidation/X/[email protected],5.11-0.138:20100430T005513Z,
pkg://opensolaris.org/consolidation/X/[email protected],5.11-0.135:20100312T044010Z,
pkg://opensolaris.org/consolidation/X/[email protected],5.11-0.133:20100216T104102Z
(INSTALLED),
pkg://opensolaris.org/consolidation/X/[email protected],5.11-0.134.0.1:20100423T210850Z,
pkg://opensolaris.org/consolidation/X/[email protected],5.11-0.137:20100409T142824Z,
pkg://opensolaris.org/consolidation/X/[email protected],5.11-0.136:20100327T030408Z
incorporate:
consolidation/sunpro/[email protected]
Requires one of:
pkg://opensolaris.org/consolidation/sunpro/[email protected],5.11-0.136:20100327T030749Z
maintained incorporations: None
Performance: [phase 1: 0.381, phase 2: 0.345, phase 3: 0.000, phase
4: 0.000, phase 5: 0.001, phase 6: 0.000, phase 7: 0.037, phase 8:
21.223, phase 9: 0.000, phase 10: 6.571]
---8<---
Do you know what might be wrong? Do you need additional info?
Thanks,
Jordan
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss