package libstdc++6-powerpc-cross 4.8.2-16ubuntu3cross0.11 failed to install/upgrade: trying to overwrite '/usr/share/gcc-4.8/python/libstdcxx/__init__.py', which is also in package libstdc++6:amd64 4.8.4-2ubuntu1~14.04.1

Bug #1561583 reported by henning on 2016-03-24
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gcc-4.8-powerpc-cross (Ubuntu)
Undecided
Unassigned

Bug Description

after automatic update

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: libstdc++6-powerpc-cross 4.8.2-16ubuntu3cross0.11
ProcVersionSignature: Ubuntu 3.16.0-67.87~14.04.1-generic 3.16.7-ckt24
Uname: Linux 3.16.0-67-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Thu Mar 24 10:03:59 2016
DuplicateSignature: package:libstdc++6-powerpc-cross:4.8.2-16ubuntu3cross0.11:trying to overwrite '/usr/share/gcc-4.8/python/libstdcxx/__init__.py', which is also in package libstdc++6:amd64 4.8.4-2ubuntu1~14.04.1
ErrorMessage: trying to overwrite '/usr/share/gcc-4.8/python/libstdcxx/__init__.py', which is also in package libstdc++6:amd64 4.8.4-2ubuntu1~14.04.1
InstallationDate: Installed on 2015-12-07 (108 days ago)
InstallationMedia: Xubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.5
 apt 1.0.1ubuntu2.11
SourcePackage: gcc-4.8-powerpc-cross
Title: package libstdc++6-powerpc-cross 4.8.2-16ubuntu3cross0.11 failed to install/upgrade: trying to overwrite '/usr/share/gcc-4.8/python/libstdcxx/__init__.py', which is also in package libstdc++6:amd64 4.8.4-2ubuntu1~14.04.1
UpgradeStatus: No upgrade log present (probably fresh install)

henning (henning-soeren666) wrote :
tags: removed: need-duplicate-check
Cyrille37 (cyrille37) wrote :

Hi,
Got the same problem.

Les paquets supplémentaires suivants seront installés :
  libstdc++6-powerpc-cross
Les paquets suivants seront mis à jour :
  libstdc++6-powerpc-cross
1 mis à jour, 0 nouvellement installés, 0 à enlever et 17 non mis à jour.
37 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/252 ko dans les archives.
Après cette opération, 106 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n]
(Lecture de la base de données... 491373 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libstdc++6-powerpc-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb ...
Dépaquetage de libstdc++6-powerpc-cross (4.8.4-2ubuntu1~14.04.1cross0.11.1) sur (4.8.2-16ubuntu3cross0.11) ...
dpkg: erreur de traitement de l'archive /var/cache/apt/archives/libstdc++6-powerpc-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb (--unpack) :
 tentative de remplacement de « /usr/share/gcc-4.8/python/libstdcxx/__init__.py », qui appartient aussi au paquet libstdc++6:i386 4.8.4-2ubuntu1~14.04.1
dpkg-deb : erreur : le sous-processus coller a été tué par le signal (Relais brisé (pipe))
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/libstdc++6-powerpc-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Launchpad Janitor (janitor) wrote :

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

Changed in gcc-4.8-powerpc-cross (Ubuntu):
status: New → Confirmed
Cyrille37 (cyrille37) wrote :

Here is my pacakages sources

Cyrille37 (cyrille37) wrote :

The workaround I found is to remove all *cross packages:

sudo apt-get -f remove linux-libc-dev-powerpc-cross libstdc++6-powerpc-cross libstdc++-4.8-dev-powerpc-cross libgomp1-powerpc-cross libgcc1-powerpc-cross libgcc-4.8-dev-powerpc-cross libc6-ppc64-powerpc-cross libc6-powerpc-cross libc6-dev-powerpc-cross libatomic1-powerpc-cross libasan0-powerpc-cross lib64stdc++6-powerpc-cross lib64stdc++6-4.8-dbg-powerpc-cross lib64stdc++-4.8-dev-powerpc-cross lib64gomp1-powerpc-cross lib64gcc1-powerpc-cross lib64gcc1-dbg-powerpc-cross lib64gcc-4.8-dev-powerpc-cross lib64atomic1-powerpc-cross lib64asan0-powerpc-cross

after that the update system works fine again.

Apteryx (maxco) wrote :

Buidling on Cyrille37's answer, to remove all these *cross packages which were apparently broken, this is what worked for me:
sudo apt-get remove ".*cross.*"
Be sure to review the packages about to get removed as anything with 'cross' in its name will be selected. In my case it was OK.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers