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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libjpeg8-empty (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# sudo chmod +x libdouble-
sudo dpkg -i libdouble-
(Reading database ... 224856 files and directories currently installed.)
Preparing to unpack libdouble-
Unpacking libdouble-
Preparing to unpack libjpeg-
Unpacking libjpeg-
dpkg: error processing archive libjpeg-
trying to overwrite shared '/usr/share/
Preparing to unpack libjpeg8_
Unpacking libjpeg8:amd64 (8c-2ubuntu10) over (8c-2ubuntu8) ...
dpkg: error processing archive libjpeg8_
trying to overwrite shared '/usr/share/
Preparing to unpack CiscoPacketTrac
Unpacking packettracer (8.2.1) over (8.2.1) ...
gtk-update-
Setting up libdouble-
Setting up packettracer (8.2.1) ...
gtk-update-
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for shared-mime-info (2.1-2) ...
Errors were encountered while processing:
libjpeg-
libjpeg8_
# sudo apt install ./CiscoPacketTr
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
Note, selecting 'packettracer' instead of './CiscoPacketT
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://
Get:2 http://
Fetched 137 kB in 0s (529 kB/s)
(Reading database ... 224856 files and directories currently installed.)
Preparing to unpack .../libjpeg-
Unpacking libjpeg-
dpkg: error processing archive /var/cache/
trying to overwrite shared '/usr/share/
64
Preparing to unpack .../libjpeg8_
Unpacking libjpeg8:amd64 (8c-2ubuntu10) over (8c-2ubuntu8) ...
dpkg: error processing archive /var/cache/
trying to overwrite shared '/usr/share/
Errors were encountered while processing:
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: libjpeg8 8c-2ubuntu8
ProcVersionSign
Uname: Linux 6.2.0-32-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
AptOrdering:
libjpeg-
libjpeg8:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Fri Sep 8 20:09:58 2023
ErrorMessage: trying to overwrite shared '/usr/share/
InstallationDate: Installed on 2023-09-03 (5 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
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/
UpgradeStatus: No upgrade log present (probably fresh install)