package libpng12-0 1.2.54-1ubuntu1 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libpng12-0/changelog.Debian.gz', which is different from other instances of package libpng12-0:amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpng (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have an error on my installation package. I can not force install. It "seems" that my "installed packages have unmet dependencies".
This is the output of the terminal :
sudo apt-get install -f
[sudo] password for ***********:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libllvm5.0 linux-headers-
linux-
linux-
linux-
linux-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libpng12-0
The following packages will be upgraded:
libpng12-0
1 to upgrade, 0 to newly install, 0 to remove and 89 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/116 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 326539 files and directories currently installed.)
Preparing to unpack .../libpng12-
Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ...
dpkg: error processing archive /var/cache/
trying to overwrite shared '/usr/share/
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks for your help !
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libpng12-0 1.2.54-1ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.18
AptOrdering:
libpng12-0: Install
libpng12-0: Configure
libpng12-0: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Mon Oct 22 13:24:25 2018
Dependencies:
gcc-6-base 6.0.1-0ubuntu1
libc6 2.23-0ubuntu10
libgcc1 1:6.0.1-0ubuntu1
zlib1g 1:1.2.8.
DpkgHistoryLog:
Start-Date: 2018-10-22 13:24:22
Commandline: apt-get install -f
Requested-By: eternalfalcon (1000)
Upgrade: libpng12-0:amd64 (1.2.54-1ubuntu1, 1.2.54-1ubuntu1.1)
DpkgTerminalLog:
Preparing to unpack .../libpng12-
Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ...
dpkg: error processing archive /var/cache/
trying to overwrite shared '/usr/share/
DuplicateSignature:
package:
Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ...
dpkg: error processing archive /var/cache/
trying to overwrite shared '/usr/share/
ErrorMessage: trying to overwrite shared '/usr/share/
InstallationDate: Installed on 2018-05-24 (150 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
RelatedPackageV
dpkg 1.18.4ubuntu1.4
apt 1.2.27
SourcePackage: libpng
Title: package libpng12-0 1.2.54-1ubuntu1 failed to install/upgrade: trying to overwrite shared '/usr/share/
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Status changed to 'Confirmed' because the bug affects multiple users.