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)
        Client: pkg
       Version: 5d367e025f46
          User: root (0)
    Start Time: 2009-09-15T15:59:02
      End Time: 2009-09-15T15:59:08
       Command: /usr/bin/pkg image-update
   Start State:
UNEVALUATED:
+pkg:/[email protected],5.11-0.118:20090817T045134Z

     End State:
pkg:/[email protected],5.11-0.118:20090707T220625Z -> pkg:/[email protected],5.11-0.118:20090817T045134Z pkg:/[email protected],5.11-0.118:20090707T223941Z -> pkg:/[email protected],5.11-0.118:20090817T045146Z

        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.


On a second system, I was upgrading from build 120->122.

DOWNLOAD                                  PKGS       FILES    XFER (MB)
virtualbox 1/690 16/15836 5.3/517.9Traceback (most recent call last):
 File "/usr/bin/pkg", line 2597, in ?
   __ret = main_func()
 File "/usr/bin/pkg", line 2537, in main_func
   return image_update(mydir, pargs)
 File "/usr/bin/pkg", line 772, in image_update
   if not __api_prepare(op, api_inst):
 File "/usr/bin/pkg", line 523, in __api_prepare
   except api_errors.TransportException, e:
AttributeError: 'module' object has no attribute 'TransportException'


pkg: This is an internal error.  Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message.  The version of pkg(5) is '12624144230f+'.

The publisher is set to http://ipkg.sfbay/dev


_Sanjay

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

Reply via email to