I have a box that was a clean 2008.11 install. After doing the following:
pkg update SUNWipkg
pkg image-update
(and waiting 5+ hours)... It fails with 'pkg: image-update cannot be
done on live image'
Looking at the history, it looks like it correctly identified all the
packages (I'll spare pasting the pages output showing it upgrading
changes in package version). But at the end dies with:
Errors:
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'
After the the initial 2008.11 install, the gcc dev collection was
installed. That's pretty much the entire history of this box.
It caused a rather embarassing failure in a place where I'm trying to
promote OpenSolaris. I'd like to be able to root cause it instead of
poking and prodding trying to force it to work.
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?
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss