package python-dev 2.7.3-0ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/pkgconfig/python2.pc', which is also in package python2.7 2.7.3-0ubuntu3.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-defaults (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Attempted to install python-dev as a dependency to mysql-workbench and hit this bug. It appears that the issue is that python-dev is attempting to supply a python.pc file for pkg-config while 'python' already does.
Preparing to replace python-dev 2.7.3-0ubuntu2 (using .../python-
Unpacking replacement python-dev ...
dpkg: error processing /var/cache/
trying to overwrite '/usr/lib/
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
segin@darvos:~$ lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: python-dev 2.7.3-0ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-39-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Sun Apr 14 00:00:52 2013
DpkgTerminalLog:
Preparing to replace python-dev 2.7.3-0ubuntu2 (using .../python-
Unpacking replacement python-dev ...
dpkg: error processing /var/cache/
trying to overwrite '/usr/lib/
DuplicateSignature:
Unpacking replacement python-dev ...
dpkg: error processing /var/cache/
trying to overwrite '/usr/lib/
ErrorMessage: trying to overwrite '/usr/lib/
MarkForUpload: True
SourcePackage: python-defaults
Title: package python-dev 2.7.3-0ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.