Sanjay Nadkarni wrote:
I saw two different failures while upgrading.

On machine 1. I was upgrading from 118->122. I had done pkg refresh --full and pulled a new version of SUNWipkg.

pkg image-update failed, since it left the alt root mounted.

pkg history -l shows:

Operation: image-update
       Outcome: Failed (Constrained)

...

Seeing the actual failure output would be helpful, but it sounds like it is too late for that.

        Errors:
Traceback (most recent call last):
 File "/usr/bin/pkg", line 2496, 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'

Redoing this against succeeded.

The error here is not really related to the failure, and should not have been logged (fixed in a newer version of SUNWipkg):
http://defect.opensolaris.org/bz/show_bug.cgi?id=9287

On a second system, I was upgrading from build 120->122.
...
AttributeError: 'module' object has no attribute 'TransportException'

Fixed in newer version of SUNWipkg:
http://defect.opensolaris.org/bz/show_bug.cgi?id=10434

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

Reply via email to