python-profiler fails to install due to manually installed python2.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-profiler (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-profiler
Under Lucid, I had installed python2.5 from source into /usr/local. This caused the maverick upgrade to fail.
$ sudo apt-get install python-profiler
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
python-profiler
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/41.2kB of archives.
After this operation, 233kB of additional disk space will be used.
Selecting previously deselected package python-profiler.
(Reading database ... 149904 files and directories currently installed.)
Unpacking python-profiler (from .../python-
Setting up python-profiler (2.6.6-0ubuntu1) ...
python2.5: can't open file 'py_compile.py': [Errno 2] No such file or directory
dpkg: error processing python-profiler (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
python-profiler
E: Sub-process /usr/bin/dpkg returned an error code (1)
Work around is to temporarily rename the python2.5 executable while installing the package.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-profiler (not installed)
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Wed Sep 22 09:15:03 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_AU.utf8
SHELL=/bin/bash
SourcePackage: python-profiler
Same problem