On Tue 02 Jun 2009 at 03:09PM, Jason King wrote:
> 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?

Jason,

Could you please attach the output of pkg history -l?  And the output
of 'pkg authority'?

Or file a bug at defect.opensolaris.org with the same info attached.
Thanks,

        -dp

-- 
Daniel Price, Solaris Kernel Engineering    http://blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to