Public bug reported: 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) ** Affects: python-defaults (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package need-duplicate-check package-conflict precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1168802 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1168802/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs