On 04/29/10 12:21 PM, Michael Schuster wrote:
On 29.04.10 17:33, Shawn Walker wrote:
On 04/27/10 02:03 AM, Michael Schuster wrote:
On 27.04.10 08:34, Michael Schuster wrote:
On 26.04.10 20:09, Bart Smaalders wrote:

$ pfexec pkg install -nv entire
Creating Plan \ Before evaluation:
UNEVALUATED:
+pkg://opensolaris.org/[email protected],5.11-0.137:20100409T144905Z

Creating Plan -pkg: install failed (inventory exception):


$
(nothing omitted ;-)

thx
Michael

Make sure you have ipkg/extra included; this was an annoying
bug where it didn't print out the name of the missing package.

did that (ie "pkg set-publisher -O http://ipkg.sfbay/extra extra"), no
improvement, I'm sorry to say - output is exactly the same.

... both for "pkg install -nv entire" and for "pkg image-update".

So, to be clear, this was fixed around b129 or so.

With that said, you can probably find out what's going on here with a bit
of tinkering. If you change the
/usr/lib/python2.4/vendor-packages/pkg/client/image.py file roughly as
follows, it might help:

with this change, I got this output from "pkg install -nv entire":

$ pfexec pkg install -nv entire
Creating Plan - Before evaluation:
UNEVALUATED:
+pkg://opensolaris.org/[email protected],5.11-0.137:20100409T144905Z

Creating Plan | notfound: [<pkg.fmri.PkgFmri
'pkg:/system/library/storage/[email protected],5.11-0.137:20100328T165512Z' at
0x8b6280c>]
pkg: install failed (inventory exception):

So part of the issue here is that you're hitting the rename boundary and a whole bunch of other ones at the same time (the joys of /dev).

What I'd suggest you try instead is to first try upgrading to build 132 using the steps found in FAQ B1:

  http://hub.opensolaris.org/bin/view/Project+pkg/FAQ

Once you've done that, then try using image-update again--it should go much better.

$

my attempts at "pkg fix" failed with "notfound: [libmpapi]" (the same
for the complete fmri).

"pkg install libmpapi" got me:

$ pfexec pkg install libmpapi
Creating Plan -
pkg: The following package(s) violated constraints:
Package consolidation/osnet/osnet-incorporation contains constraint
incompatible with constraint in installed package entire
proposed: Pkg SUNWdhcs: Optional min_version: 0.5.11,5.11-0.133 max
version: 0.5.11,5.11-0.133 defined by:
pkg:/consolidation/osnet/osnet-incorporation
installed: Pkg SUNWdhcs: Optional min_version: 0.5.11,5.11-0.124 max
version: 0.5.11,5.11-0.124 defined by: pkg:/entire

This is happening because the old package solver in builds pre-132 always tries to install the newest version of a package, and can't handle the dependency graph in newer builds.

To install that package, you'd have to specify something like:

  pkg install [email protected],5.11-0.124

Cheers,
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to