[Bug 2060782] [NEW] package libstdc++6 12.3.0-1ubuntu1~22.04 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libstdc++6', which is different from other instances of package libstdc++6:i386

Alexander Golubev 2060782 at bugs.launchpad.net
Wed Apr 10 08:53:29 UTC 2024


Public bug reported:

dpkg: error processing archive /var/cache/apt/archives/libstdc++6_12.3.0-1ubuntu1~22.04_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libstdc++6', which is different from other instances of package libstdc++6:i386
Errors were encountered while processing:
 /var/cache/apt/archives/libstdc++6_12.3.0-1ubuntu1~22.04_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: libstdc++6 12.3.0-1ubuntu1~22.04
ProcVersionSignature: Ubuntu 6.5.0-26.26~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Apr 10 11:51:30 2024
DuplicateSignature:
 package:libstdc++6:12.3.0-1ubuntu1~22.04
 Unpacking libstdc++6:i386 (12.3.0-1ubuntu1~22.04) over (8.4.0-1ubuntu1~18.04) ...
 dpkg: error processing archive /var/cache/apt/archives/libstdc++6_12.3.0-1ubuntu1~22.04_i386.deb (--unpack):
  trying to overwrite shared '/usr/share/doc/libstdc++6', which is different from other instances of package libstdc++6:i386
ErrorMessage: trying to overwrite shared '/usr/share/doc/libstdc++6', which is different from other instances of package libstdc++6:i386
InstallationDate: Installed on 2023-12-21 (111 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.3
 apt  2.4.12
SourcePackage: gcc-12
Title: package libstdc++6 12.3.0-1ubuntu1~22.04 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libstdc++6', which is different from other instances of package libstdc++6:i386
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gcc-12 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package jammy need-duplicate-check package-conflict

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

Title:
  package libstdc++6 12.3.0-1ubuntu1~22.04 failed to install/upgrade:
  trying to overwrite shared '/usr/share/doc/libstdc++6', which is
  different from other instances of package libstdc++6:i386

Status in gcc-12 package in Ubuntu:
  New

Bug description:
  dpkg: error processing archive /var/cache/apt/archives/libstdc++6_12.3.0-1ubuntu1~22.04_i386.deb (--unpack):
   trying to overwrite shared '/usr/share/doc/libstdc++6', which is different from other instances of package libstdc++6:i386
  Errors were encountered while processing:
   /var/cache/apt/archives/libstdc++6_12.3.0-1ubuntu1~22.04_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: libstdc++6 12.3.0-1ubuntu1~22.04
  ProcVersionSignature: Ubuntu 6.5.0-26.26~22.04.1-generic 6.5.13
  Uname: Linux 6.5.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Wed Apr 10 11:51:30 2024
  DuplicateSignature:
   package:libstdc++6:12.3.0-1ubuntu1~22.04
   Unpacking libstdc++6:i386 (12.3.0-1ubuntu1~22.04) over (8.4.0-1ubuntu1~18.04) ...
   dpkg: error processing archive /var/cache/apt/archives/libstdc++6_12.3.0-1ubuntu1~22.04_i386.deb (--unpack):
    trying to overwrite shared '/usr/share/doc/libstdc++6', which is different from other instances of package libstdc++6:i386
  ErrorMessage: trying to overwrite shared '/usr/share/doc/libstdc++6', which is different from other instances of package libstdc++6:i386
  InstallationDate: Installed on 2023-12-21 (111 days ago)
  InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.3
   apt  2.4.12
  SourcePackage: gcc-12
  Title: package libstdc++6 12.3.0-1ubuntu1~22.04 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libstdc++6', which is different from other instances of package libstdc++6:i386
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-12/+bug/2060782/+subscriptions




More information about the foundations-bugs mailing list