I had this exact problem when upgrading from 9.10 to 10.04 beta tonight.

I had to use the provided patch to fix UpdateManager.py. Strange..

------------------
rmil...@liptip:~$ sudo update-manager -d
[sudo] password for rmiller: 
Sorry, try again.
[sudo] password for rmiller: 
extracting 'lucid.tar.gz'
authenticate 'lucid.tar.gz' against 'lucid.tar.gz.gpg' 
Traceback (most recent call last):
  File "/tmp/tmppJyGdN/lucid", line 7, in <module>
    sys.exit(main())
  File "/tmp/tmppJyGdN/DistUpgradeMain.py", line 132, in main
    if app.run():
  File "/tmp/tmppJyGdN/DistUpgradeController.py", line 1635, in run
    return self.fullUpgrade()
  File "/tmp/tmppJyGdN/DistUpgradeController.py", line 1609, in fullUpgrade
    if not self.doDistUpgrade():
  File "/tmp/tmppJyGdN/DistUpgradeController.py", line 1019, in doDistUpgrade
    res = self.cache.commit(fprogress,iprogress)
  File "/tmp/tmppJyGdN/DistUpgradeCache.py", line 239, in commit
    apt.Cache.commit(self, fprogress, iprogress)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 314, in commit
    res = self.installArchives(pm, installProgress)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 289, in 
installArchives
    res = installProgress.run(pm)
  File "/tmp/tmppJyGdN/DistUpgradeView.py", line 190, in run
    res = os.WEXITSTATUS(self.waitChild())
  File "/tmp/tmppJyGdN/DistUpgradeViewGtk.py", line 292, in waitChild
    self.updateInterface()
  File "/tmp/tmppJyGdN/DistUpgradeViewGtk.py", line 299, in updateInterface
    InstallProgress.updateInterface(self)
  File "/usr/lib/python2.6/dist-packages/apt/progress/__init__.py", line 277, 
in updateInterface
    status_str.strip())
  File "/tmp/tmppJyGdN/DistUpgradeViewGtk.py", line 282, in statusChange
    self.parent._webkit_view.get_load_status() == 2):
AttributeError: 'webkit.WebView' object has no attribute 'get_load_status'
rmil...@liptip:~$ sudo update-manager -d
[sudo] password for rmiller: 

(process:11100): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 107, in <module>
    app = UpdateManager(data_dir, options)
  File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 
119, in __init__
    logging.exception("setlocale failed")
NameError: global name 'logging' is not defined
----------------

-- 
update-manager crashes when locales are not working
https://bugs.launchpad.net/bugs/471378
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to