package gcc-10-base 10-20200411-0ubuntu1 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/gcc-10-base/TODO.Debian', which is different from other instances of package gcc-10-base:amd64

Bug #1932245 reported by Ranjai Baidya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-10 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Actually, I came across this while I was trying to solve another problem in my system. When I installed the ubuntu, turns there was no ethernet driver. So at first I manually downloaded the build-essentials and then the driver from another pc and then installed them into this system. Everything was working fine but lateron during apt update the ethernet wasnot working again. So I tried re-installing the driver, but then there was some issue with the make file. Then I tried connecting the device to internet using USB-tethering and perpromed apt update. It was then that there were some descrepancies occured which asked me to perform '--fix-broken install'. I did it but this error popped up.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: gcc-10-base 10-20200411-0ubuntu1
ProcVersionSignature: Ubuntu 5.8.0-55.62~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-55-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
Date: Thu Jun 17 14:48:38 2021
Dependencies:

DpkgTerminalLog:
 Preparing to unpack .../gcc-10-base_10.2.0-5ubuntu1~20.04_amd64.deb ...
 Unpacking gcc-10-base:amd64 (10.2.0-5ubuntu1~20.04) over (10-20200411-0ubuntu1) ...
 dpkg: error processing archive /var/cache/apt/archives/gcc-10-base_10.2.0-5ubuntu1~20.04_amd64.deb (--unpack):
  trying to overwrite shared '/usr/share/doc/gcc-10-base/TODO.Debian', which is different from other instances of package gcc-10-base:amd64
ErrorMessage: trying to overwrite shared '/usr/share/doc/gcc-10-base/TODO.Debian', which is different from other instances of package gcc-10-base:amd64
InstallationDate: Installed on 2021-05-29 (18 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.5
SourcePackage: gcc-10
Title: package gcc-10-base 10-20200411-0ubuntu1 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/gcc-10-base/TODO.Debian', which is different from other instances of package gcc-10-base:amd64
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ranjai Baidya (rnjbdya) wrote :
affects: ubuntu → gcc-10 (Ubuntu)
Revision history for this message
Matthias Klose (doko) wrote :

this is usually seen when you don't update these packages for i386 at the same time.

Changed in gcc-10 (Ubuntu):
status: New → Invalid
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.