Error during upgrade to Lucid Lynx 10.04

Bug #549402 reported by Bartosz Kosiorek
This bug report is a duplicate of:  Bug #549292: Can't update to 10.04 beta. Edit Remove
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

I would like to upgrade Ubuntu 9.10 to 10.04, so I typed:

   sudo update-manager -d

Unfortunately after click "Upgrade to 10.04", the application crashed (some libraries is missing):

$ sudo update-manager -d
/usr/lib/python2.6/dist-packages/UpdateManager/SimpleGtkbuilderApp.py:35: GtkWarning: Failed to set text from markup due to error parsing markup: Błąd w wierszu 1 przy znaku 78: Element "b" został zamknięty, lecz aktualnie otwartym elementem jest "big"
  self.builder.add_from_file(path)
extracting 'lucid.tar.gz'
authenticate 'lucid.tar.gz' against 'lucid.tar.gz.gpg'
Traceback (most recent call last):
  File "/tmp/tmpy9fpyY/lucid", line 3, in <module>
    from DistUpgradeMain import main
  File "/tmp/tmpy9fpyY/DistUpgradeMain.py", line 25, in <module>
    from DistUpgradeController import DistUpgradeController
  File "/tmp/tmpy9fpyY/DistUpgradeController.py", line 50, in <module>
    from sourceslist import SourcesList, SourceEntry, is_mirror
  File "/tmp/tmpy9fpyY/sourceslist.py", line 36, in <module>
    from apt.deprecation import function_deprecated_by
ImportError: No module named deprecation

before this, in update manager, it just says 'downloading file 2 of 2', never 1 of 2, and it just zips right through the download.

Last time I have removed RawTherapee application, and it suggest me to remove some unused python libraries.
But why it mention that is unused, if it is used by "Update-manager"?

Tags: i386 lucid
summary: - Error during upgrade to Lucid Lynx
+ Error during upgrade to Lucid Lynx 10.04
tags: added: lucid
tags: added: i386
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

I have found similar problem at forum:
http://ubuntuforums.org/showthread.php?p=9033966

description: updated
Revision history for this message
Frédéric Junod (fredj) wrote :

Installing the lucid version of python-apt [1] seems to works.

wget http://de.archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt_0.7.94.2ubuntu3_i386.deb
sudo dpkg -i python-apt_0.7.94.2ubuntu3_i386.deb

Regards,

fredj

[1] http://packages.ubuntu.com/lucid/python-apt

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Thanks Frédéric !
After install python-apt from lucid update-manager works perfectly.
Thanks for this workaround

What should be done to fix this pernamently?

Revision history for this message
Philip Muškovac (yofel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 549292, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.