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:

diff -r 7b2e3230fde9 src/modules/client/image.py
--- a/src/modules/client/image.py       Fri Sep 25 09:42:03 2009 -0700
+++ b/src/modules/client/image.py       Thu Apr 29 10:32:12 2010 -0500
@@ -2005,6 +2005,7 @@
                 ]

                 if nonmatchingpats:
+                        print "notfound: %s" % str(nonmatchingpats)
                         raise api_errors.InventoryException(
                             notfound=nonmatchingpats)


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

Reply via email to