On 09/ 8/10 05:30 PM, William Bauer wrote:
I've tried and failed to upgrade from 2009.06 to 134 and have tested on a few 
systems, including two fresh installs on VB.  The repositories are there and 
the downloads complete.  The error is a python error during the install phase.  
Anyone got a fix or workaround other than a clean install?  Here's the error 
using the update manager (similar error from the command line with 
image-update):

Traceback (most recent call last):
   File "/usr/lib/python2.4/vendor-packages/pkg/gui/installupdate.py", line 
410, in __proceed_with_stages_thread_ex
     self.__proceed_with_stages_thread()
   File "/usr/lib/python2.4/vendor-packages/pkg/gui/installupdate.py", line 
569, in __proceed_with_stages_thread
     self.api_o.execute_plan()
   File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 519, in 
execute_plan
     self.img.imageplan.execute()
   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 871, 
in execute
     p.execute_install(src, dest)
   File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 259, 
in execute_install
     dest.install(self, src)
   File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line 165, in 
install
     shasum = misc.gunzip_from_stream(stream, tfile)
   File "/usr/lib/python2.4/vendor-packages/pkg/misc.py", line 250, in 
gunzip_from_stream
     magic = gz.read(2)
IOError: [Errno 5] I/O error

Going way back, IIRC, there were python issues. Try linking /usr/bin/python with python2.6.

My b134:

$ ls -al /usr/bin/python
lrwxrwxrwx 1 root root 9 May 7 16:56 /usr/bin/python -> python2.6
$ ls -al /usr/bin/python2.6
lrwxrwxrwx 1 root root 16 May 7 16:56 /usr/bin/python2.6 -> i86/isapython2.6
$ ls -al /usr/bin/i86/isapython2.6
-rwxr-xr-x 1 root bin 7116 Mar 2 2010 /usr/bin/i86/isapython2.6
$


Paul
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to