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

Bug #2060782 reported by Alexander Golubev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-12 (Ubuntu)
New
Undecided
Unassigned

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)

Revision history for this message
Alexander Golubev (alexandergolubev) wrote :
tags: removed: need-duplicate-check
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.