Re: [Bug 1167177] Re: package python-dev 2.7.3-0ubuntu2 failed to install/upgrade: tentative de remplacement de « /usr/lib/pkgconfig/python2.pc », qui appartient aussi au paquet python2.7 2.7.3-0ubuntu3.1

segin segin2005 at gmail.com
Fri May 3 22:20:06 UTC 2013


The error you are encountering is exactly the bug in question. Clearly
there is no current workaround, that is why the bug was filed in the first
place.
On May 3, 2013 3:50 PM, "Antonio Roquentin" <1167177 at bugs.launchpad.net>
wrote:

> I tried sudo apt-get install -f python-dev, as suggested by the error
> message itself, but it didn't work. I got
>
> Preparing to replace python-dev 2.7.3-0ubuntu2 (using
> .../python-dev_2.7.3-0ubuntu2.1_i386.deb) ...
> Unpacking replacement python-dev ...
> dpkg: error processing
> /var/cache/apt/archives/python-dev_2.7.3-0ubuntu2.1_i386.deb (--unpack):
>  trying to overwrite '/usr/lib/pkgconfig/python2.pc', which is also in
> package python2.7 2.7.3-0ubuntu3.1
>
> Is there any workaround?
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1168802).
> https://bugs.launchpad.net/bugs/1167177
>
> Title:
>   package python-dev 2.7.3-0ubuntu2 failed to install/upgrade: tentative
>   de remplacement de « /usr/lib/pkgconfig/python2.pc », qui appartient
>   aussi au paquet python2.7 2.7.3-0ubuntu3.1
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1167177/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1167177

Title:
  package python-dev 2.7.3-0ubuntu2 failed to install/upgrade: tentative
  de remplacement de « /usr/lib/pkgconfig/python2.pc », qui appartient
  aussi au paquet python2.7 2.7.3-0ubuntu3.1

Status in “python-defaults” package in Ubuntu:
  Confirmed
Status in “python-defaults” source package in Precise:
  Triaged

Bug description:
  after an "sudo apt-get upgrade " i get this :

  Vous pouvez lancer « apt-get -f install » pour corriger ces problèmes.
  Les paquets suivants contiennent des dépendances non satisfaites :
   python-dev : Dépend: python (= 2.7.3-0ubuntu2) mais 2.7.3-0ubuntu2.1 est installé
  E: Dépendances manquantes. Essayez d'utiliser l'option -f.

  and when i use " sudo apt-get -f install" i get this error :

  Préparation du remplacement de python-dev 2.7.3-0ubuntu2 (en utilisant .../python-dev_2.7.3-0ubuntu2.1_i386.deb) ...
  Dépaquetage de la mise à jour de python-dev ...
  dpkg : erreur de traitement de /var/cache/apt/archives/python-dev_2.7.3-0ubuntu2.1_i386.deb (--unpack) :
   tentative de remplacement de « /usr/lib/pkgconfig/python2.pc », qui appartient aussi au paquet python2.7 2.7.3-0ubuntu3.1
  Traitement des actions différées (« triggers ») pour « man-db »...
  Des erreurs ont été rencontrées pendant l'exécution :
   /var/cache/apt/archives/python-dev_2.7.3-0ubuntu2.1_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: python-dev 2.7.3-0ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-40.64-generic-pae 3.2.40
  Uname: Linux 3.2.0-40-generic-pae i686
  NonfreeKernelModules: wl nvidia
  ApportVersion: 2.0.1-0ubuntu17.1
  AptOrdering:
   python-dev: Install
   python-dev: Configure
  Architecture: i386
  Date: Wed Apr 10 07:19:58 2013
  ErrorMessage: tentative de remplacement de « /usr/lib/pkgconfig/python2.pc », qui appartient aussi au paquet python2.7 2.7.3-0ubuntu3.1
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  MarkForUpload: True
  SourcePackage: python-defaults
  Title: package python-dev 2.7.3-0ubuntu2 failed to install/upgrade: tentative de remplacement de « /usr/lib/pkgconfig/python2.pc », qui appartient aussi au paquet python2.7 2.7.3-0ubuntu3.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1167177/+subscriptions




More information about the foundations-bugs mailing list