Python 2.7 fails to install after upgrade from 12.04 to 12.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.7 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After installing, I saw a bunch of errors about python 2.7.3 not being configured. I typed
sudo apt-get install python2.7
which yields the following error followed by a long list of related errors (full list at http://
python2.7: can't open file '/usr/lib/
dpkg: error processing python2.7 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of python:
python depends on python2.7 (>= 2.7.3); however:
Package python2.7 is not configured yet.
I do have a version of python2.7.3 installed from source. I tried redirecting PYTHONHOME to the library directory of that python but that didn't help. Removing those libraries also fails to fix the problem. Finally, I tried to download the package using apt-get download and to install from the resulting .deb file but got the same error.
affects: | launchpad → ubuntu |
affects: | ubuntu → python2.7 (Ubuntu) |
The pastebin you reference no longer exists.
Remove the version you installed from source and try to work it out from
there. Any normal Ubuntu system will have python2.7 installed on it, so it
sounds like you are having some kind of configuration issue with your local
system.