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

Bug #1168802 reported by segin
10
This bug affects 2 people
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-dev_2.7.3-0ubuntu2.1_amd64.deb) ...
Unpacking replacement python-dev ...
dpkg: error processing /var/cache/apt/archives/python-dev_2.7.3-0ubuntu2.1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/pkgconfig/python2.pc', which is also in package python2.7 2.7.3-0ubuntu3.1
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/python-dev_2.7.3-0ubuntu2.1_amd64.deb
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
ProcVersionSignature: Ubuntu 3.2.0-39.62-generic 3.2.39
Uname: Linux 3.2.0-39-generic x86_64
NonfreeKernelModules: sep3_10 pax wl
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-dev_2.7.3-0ubuntu2.1_amd64.deb) ...
 Unpacking replacement python-dev ...
 dpkg: error processing /var/cache/apt/archives/python-dev_2.7.3-0ubuntu2.1_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/pkgconfig/python2.pc', which is also in package python2.7 2.7.3-0ubuntu3.1
DuplicateSignature:
 Unpacking replacement python-dev ...
 dpkg: error processing /var/cache/apt/archives/python-dev_2.7.3-0ubuntu2.1_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/pkgconfig/python2.pc', which is also in package python2.7 2.7.3-0ubuntu3.1
ErrorMessage: trying to overwrite '/usr/lib/pkgconfig/python2.pc', which is also in package python2.7 2.7.3-0ubuntu3.1
MarkForUpload: True
SourcePackage: python-defaults
Title: 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
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
segin (segin2005) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-defaults (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.