Public bug reported:
I have Ubuntu Lucid with the deadsnakes PPA added for Python 2.7, 3.2,
and 2.5. I've since found that I need a profiler on my host, so I
attempted to install it with "aptitude install python-profiler" but got
this error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
python-profiler
0 packages upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 0B/29.8kB of archives. After unpacking 188kB will be used.
Writing extended state information... Done
(Reading database ... 72747 files and directories currently installed.)
Unpacking python-profiler (from .../python-profiler_2.6.5-0ubuntu1_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/python-profiler_2.6.5-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/lib/python2.5/profile.py', which is also in package
python2.5 0:2.5.6-0~ppa1~lucid1
Errors were encountered while processing:
/var/cache/apt/archives/python-profiler_2.6.5-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
In my opinion, python-profiler_2.6.5-0ubuntu1_all.deb should not try to write
to /usr/lib/python2.5.
python-profiler should include the profiler modules for those versions
of Python supported by Ubuntu or even better should have Python-specific
versions with an alias for the default Python version that ships with
Ubuntu.
** Affects: python-profiler (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/855514
Title:
python-profiler for Python 2.6 fails attempting to overwrite python2.5
lib
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-profiler/+bug/855514/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs