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..
------------------
rmiller@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'
rmiller@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
----------------
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..
------------------ /lucid" , line 7, in <module> exit(main( )) /DistUpgradeMai n.py", line 132, in main /DistUpgradeCon troller. py", line 1635, in run /DistUpgradeCon troller. py", line 1609, in fullUpgrade ade(): /DistUpgradeCon troller. py", line 1019, in doDistUpgrade commit( fprogress, iprogress) /DistUpgradeCac he.py", line 239, in commit Cache.commit( self, fprogress, iprogress) python2. 6/dist- packages/ apt/cache. py", line 314, in commit hives(pm, installProgress) python2. 6/dist- packages/ apt/cache. py", line 289, in installArchives .run(pm) /DistUpgradeVie w.py", line 190, in run self.waitChild( )) /DistUpgradeVie wGtk.py" , line 292, in waitChild updateInterface () /DistUpgradeVie wGtk.py" , line 299, in updateInterface ress.updateInte rface(self) python2. 6/dist- packages/ apt/progress/ __init_ _.py", line 277, in updateInterface str.strip( )) /DistUpgradeVie wGtk.py" , line 282, in statusChange parent. _webkit_ view.get_ load_status( ) == 2):
rmiller@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
sys.
File "/tmp/tmppJyGdN
if app.run():
File "/tmp/tmppJyGdN
return self.fullUpgrade()
File "/tmp/tmppJyGdN
if not self.doDistUpgr
File "/tmp/tmppJyGdN
res = self.cache.
File "/tmp/tmppJyGdN
apt.
File "/usr/lib/
res = self.installArc
File "/usr/lib/
res = installProgress
File "/tmp/tmppJyGdN
res = os.WEXITSTATUS(
File "/tmp/tmppJyGdN
self.
File "/tmp/tmppJyGdN
InstallProg
File "/usr/lib/
status_
File "/tmp/tmppJyGdN
self.
AttributeError: 'webkit.WebView' object has no attribute 'get_load_status'
rmiller@liptip:~$ sudo update-manager -d
[sudo] password for rmiller:
(process:11100): Gtk-WARNING **: Locale not supported by C library. update- manager" , line 107, in <module> data_dir, options) python2. 6/dist- packages/ UpdateManager/ UpdateManager. py", line 119, in __init__ exception( "setlocale failed")
Using the fallback 'C' locale.
Traceback (most recent call last):
File "/usr/bin/
app = UpdateManager(
File "/usr/lib/
logging.
NameError: global name 'logging' is not defined
----------------