On Tue, Jun 02, 2009 at 03:09:32PM -0500, Jason King wrote:

> Traceback (most recent call last):
>   File "/usr/bin/pkg", line 2495, in main_func
>     mydir = os.environ["PKG_IMAGE"]
>   File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
>     def __getitem__(self, key): return self.data[key]
> KeyError: 'PKG_IMAGE'

That shouldn't be possible -- that line is protected by a try/except clause
that catches KeyError.  Are you positive that /usr/bin/pkg hasn't been
modified in any way?  If you run "pkg verify SUNWipkg", do you see an error
on that file?

> What is interesting is the pkg update SUNWipkg just updated it to the
> -101 version of pkg, not the -111 version.   Shouldn't it have updated
> it to the the -111 version?

No, that's fine -- it's been "backpublished", where we take a version and
make it available as a version that appears to be earlier in the version
stream.  This is because the package is constrained by entire to be in the
-0.101 branch, so we make the updates available there, as well as on -0.111
(and other branches).

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

Reply via email to