package libjpeg8 8c-2ubuntu8 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libjpeg8/changelog.Debian.gz', which is different from other instances of package libjpeg8:amd64

Bug #2034989 reported by Jagdeep Singh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libjpeg8-empty (Ubuntu)
New
Undecided
Unassigned

Bug Description

# sudo chmod +x libdouble-conversion1_3.1.0-3_amd64.deb libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb libjpeg8_8c-2ubuntu10_amd64.deb CiscoPacketTracer_821_Ubuntu_64bit.deb
sudo dpkg -i libdouble-conversion1_3.1.0-3_amd64.deb libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb libjpeg8_8c-2ubuntu10_amd64.deb CiscoPacketTracer_821_Ubuntu_64bit.deb

(Reading database ... 224856 files and directories currently installed.)
Preparing to unpack libdouble-conversion1_3.1.0-3_amd64.deb ...
Unpacking libdouble-conversion1:amd64 (3.1.0-3) over (3.1.0-3) ...
Preparing to unpack libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) over (2.0.3-0ubuntu1) ...
dpkg: error processing archive libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb (--install):
 trying to overwrite shared '/usr/share/doc/libjpeg-turbo8/changelog.Debian.gz', which is different from other instances of package libjpeg-turbo8:amd64
Preparing to unpack libjpeg8_8c-2ubuntu10_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu10) over (8c-2ubuntu8) ...
dpkg: error processing archive libjpeg8_8c-2ubuntu10_amd64.deb (--install):
 trying to overwrite shared '/usr/share/doc/libjpeg8/changelog.Debian.gz', which is different from other instances of package libjpeg8:amd64
Preparing to unpack CiscoPacketTracer_821_Ubuntu_64bit.deb ...
Unpacking packettracer (8.2.1) over (8.2.1) ...
gtk-update-icon-cache: No theme index file.
Setting up libdouble-conversion1:amd64 (3.1.0-3) ...
Setting up packettracer (8.2.1) ...
gtk-update-icon-cache: No theme index file.
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for shared-mime-info (2.1-2) ...
Errors were encountered while processing:
 libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb
 libjpeg8_8c-2ubuntu10_amd64.deb

# sudo apt install ./CiscoPacketTracer_821_Ubuntu_64bit.deb --fix-broken
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
Note, selecting 'packettracer' instead of './CiscoPacketTracer_821_Ubuntu_64bit.deb'
packettracer is already the newest version (8.2.1).
The following additional packages will be installed:
  libjpeg-turbo8 libjpeg8
The following packages will be upgraded:
  libjpeg-turbo8 libjpeg8
2 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
4 not fully installed or removed.
Need to get 137 kB of archives.
After this operation, 32.8 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libjpeg-turbo8 amd64 2.1.2-0ubuntu1 [134 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libjpeg8 amd64 8c-2ubuntu10 [2,264 B]
Fetched 137 kB in 0s (529 kB/s)
(Reading database ... 224856 files and directories currently installed.)
Preparing to unpack .../libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) over (2.0.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libjpeg-turbo8/changelog.Debian.gz', which is different from other instances of package libjpeg-turbo8:amd
64
Preparing to unpack .../libjpeg8_8c-2ubuntu10_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu10) over (8c-2ubuntu8) ...
dpkg: error processing archive /var/cache/apt/archives/libjpeg8_8c-2ubuntu10_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libjpeg8/changelog.Debian.gz', which is different from other instances of package libjpeg8:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libjpeg8_8c-2ubuntu10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: libjpeg8 8c-2ubuntu8
ProcVersionSignature: Ubuntu 6.2.0-32.32~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-32-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
AptOrdering:
 libjpeg-turbo8:amd64: Install
 libjpeg8:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Sep 8 20:09:58 2023
ErrorMessage: trying to overwrite shared '/usr/share/doc/libjpeg8/changelog.Debian.gz', which is different from other instances of package libjpeg8:amd64
InstallationDate: Installed on 2023-09-03 (5 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.2
 apt 2.4.10
SourcePackage: libjpeg8-empty
Title: package libjpeg8 8c-2ubuntu8 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libjpeg8/changelog.Debian.gz', which is different from other instances of package libjpeg8:amd64
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jagdeep Singh (m4perfect) wrote :
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.