Valacosa
November 11th, 2008, 04:48 PM
I am currently running Ubuntu 7.10 (Gutsy Gibbon) and would like to upgrade to Ubuntu 8.04.1 LTS (Hardy Heron). But my problem is Update Manager doesn't run. At all. If I click the icon in the System->Administration menu, nothing happens.
I also tried running the update manager from the console, using the command:
gksu "update-manager -c -d"
And I get the following error:
ImportError: could not import pango
k-2.0/gtk/__init__.py:48: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
ImportError: could not import pango
Traceback (most recent call last):
File "/usr/bin/update-manager", line 29, in <module>
import gtk.glade
ImportError: cannot import name Widget from gtk
My problem is exactly the same as described in the Ubuntu forums post here (http://ubuntuforums.org/showthread.php?t=420782), but no solution is attached. Also, the packages named in this solution (http://ubuntuforums.org/showthread.php?t=540938) aren't available anymore.
This post (http://ubuntuforums.org/archive/index.php/t-123415.html) had some suggestions which helped me narrow down the problem. If I load python and try to import Pango, this is what happens:
Python 2.5.1 (r251:54863, Jul 31 2008, 23:17:40)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pango
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /var/lib/python-support/python2.5/gtk-2.0/pango.so: undefined symbol: pango_gravity_get_for_matrix
>>>
So update-manager seems to not work because Python can't import Pango. What's more, I downloaded the alternate-installation CD in an attempt to follow the non-network upgrade instructions here (http://www.ubuntu.com/getubuntu/upgrading-8.04), but cdromupgrade doesn't work either!
Is there a fix out there? I'd really rather not nuke my system and start from scratch.
Things I have already tried:
Setting the environment variable PYTHONPATH
Reinstalling libpango1.0-common, libatk1.0-1, and a host of other packages
I also tried running the update manager from the console, using the command:
gksu "update-manager -c -d"
And I get the following error:
ImportError: could not import pango
k-2.0/gtk/__init__.py:48: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
ImportError: could not import pango
Traceback (most recent call last):
File "/usr/bin/update-manager", line 29, in <module>
import gtk.glade
ImportError: cannot import name Widget from gtk
My problem is exactly the same as described in the Ubuntu forums post here (http://ubuntuforums.org/showthread.php?t=420782), but no solution is attached. Also, the packages named in this solution (http://ubuntuforums.org/showthread.php?t=540938) aren't available anymore.
This post (http://ubuntuforums.org/archive/index.php/t-123415.html) had some suggestions which helped me narrow down the problem. If I load python and try to import Pango, this is what happens:
Python 2.5.1 (r251:54863, Jul 31 2008, 23:17:40)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pango
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /var/lib/python-support/python2.5/gtk-2.0/pango.so: undefined symbol: pango_gravity_get_for_matrix
>>>
So update-manager seems to not work because Python can't import Pango. What's more, I downloaded the alternate-installation CD in an attempt to follow the non-network upgrade instructions here (http://www.ubuntu.com/getubuntu/upgrading-8.04), but cdromupgrade doesn't work either!
Is there a fix out there? I'd really rather not nuke my system and start from scratch.
Things I have already tried:
Setting the environment variable PYTHONPATH
Reinstalling libpango1.0-common, libatk1.0-1, and a host of other packages