update-manager fails to upgrade from quantal to raring No module named '_sysconfigdata_m'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.3 (Ubuntu) |
Confirmed
|
Undecided
|
David Ireland | ||
python3.4 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
python3.5 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I ran update manager and chose to upgrade to raring. The packages all downloaded. On installation, I repeatedly saw something like this in the console:
File "/usr/lib/
main()
File "/usr/lib/
known_paths = addusersitepack
File "/usr/lib/
user_site = getusersitepack
File "/usr/lib/
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/
USER_BASE = get_config_
File "/usr/lib/
return get_config_
File "/usr/lib/
_init_
File "/usr/lib/
from _sysconfigdata import build_time_vars
File "/usr/lib/
from _sysconfigdata_m import *
ImportError: No module named '_sysconfigdata_m'
Eventually, update-manager silently exited.
Now when I try to start it again from gnome-terminal, I see the above, and update-manager immediately exits.
In fact, python3.3 doesn't run, with the same error, and
apt-get install python3.3
Results in the same error repeatedly
_sysconfigdata_m.py is in
http://
But it wasn't installed, so I installed it by hand using dpkg.
python3.3 still doesn't run, but now I
apt-get install python3.3
without seeing this error, and all the unconfigured packages from the upgrade get configured.
The reporting guidelines don't seem to apply to upgrade issues, but for completeness
$ lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04
What I expected: I expected update-manager to upgrade my system, or to report that it had failed
What happened: update-manager exited, without reporting failure, leaving my system in an unusable state
This seems to be because I had python3 from a backport installed. It's not obvious why it wasn't upgraded, but it's not going to affect many people.