I had the same issue with a gutsy (7.10) to hardy (8.04) upgrade. I used the "modify /etc/apt/sources.list; apt-get update; apt-get dist-upgrade" method. I have the sugar packages (which use Python) installed from http://ppa.launchpad.net/jani/ubuntu , but I do not thing that was related.
The error looked something like this (see attached var_log_apt_term.log): Preparing to replace python-apt 0.7.3.1ubuntu4 (using .../python-apt_0.7.4ubuntu5_i386.deb) ... Traceback (most recent call last): File "/usr/bin/pycentral", line 1593, in <module> main() File "/usr/bin/pycentral", line 1587, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 1075, in run requested = pyversions.requested_versions_for_runtime(version_field, version_only=True) File "/usr/share/pycentral-data/pyversions.py", line 172, in requested_versions_for_runtime vinfo = parse_versions(vstring) File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions raise ValueError, 'error parsing Python-Version attribute' ValueError: error parsing Python-Version attribute After this, everything blew up. The install/upgrade would not continue, because apt refused to configure any packages for which the dependencies failed. (It's amazing how many packages are somehow dependant on python). The system was unusable. After poking around a bit, and using the above stack trace to get in a little over my head, I commented out line 1587 of /usr/bin/pycentral, which says: rv = action.run(global_options) After this, apt agreed to configure the remaining packages. However, I DO NOT RECOMMEND this approach, since it breaks some python packages. Perhaps a try/catch block somewhere in this call stack would prevent the error from upgrading this package. This might be a bug in python- central ** Attachment added: "apt-get dist-upgrade for gutsy to hardy" http://launchpadlibrarian.net/12177441/var_log_apt_term.log -- Dapper->hardy upgrade failed during do-release-upgrade (apparently a python-apt issue) https://bugs.launchpad.net/bugs/194448 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs