Public bug reported:

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-4.13.0-45 linux-headers-4.13.0-45-generic
  linux-headers-4.4.0-131 linux-headers-4.4.0-131-generic
  linux-image-4.13.0-43-generic linux-image-4.13.0-45-generic
  linux-image-4.4.0-131-generic linux-image-extra-4.13.0-43-generic
  linux-image-extra-4.13.0-45-generic linux-image-extra-4.4.0-131-generic
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-0_1.2.54-1ubuntu1.1_amd64.deb ...
Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ...
dpkg: error processing archive 
/var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libpng12-0/changelog.Debian.gz', 
which is different from other instances of package libpng12-0:amd64
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
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
ProcVersionSignature: Ubuntu 4.15.0-32.35~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-32-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
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.dfsg-2ubuntu4.1
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-0_1.2.54-1ubuntu1.1_amd64.deb ...
 Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ...
 dpkg: error processing archive 
/var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):
  trying to overwrite shared '/usr/share/doc/libpng12-0/changelog.Debian.gz', 
which is different from other instances of package libpng12-0:amd64
DuplicateSignature:
 package:libpng12-0:1.2.54-1ubuntu1
 Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ...
 dpkg: error processing archive 
/var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):
  trying to overwrite shared '/usr/share/doc/libpng12-0/changelog.Debian.gz', 
which is different from other instances of package libpng12-0:amd64
ErrorMessage: trying to overwrite shared 
'/usr/share/doc/libpng12-0/changelog.Debian.gz', which is different from other 
instances of package libpng12-0:amd64
InstallationDate: Installed on 2018-05-24 (150 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
RelatedPackageVersions:
 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/doc/libpng12-0/changelog.Debian.gz', which is 
different from other instances of package libpng12-0:amd64
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libpng (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package package-conflict xenial

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libpng in Ubuntu.
https://bugs.launchpad.net/bugs/1799215

Title:
  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

Status in libpng package in Ubuntu:
  New

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-4.13.0-45 linux-headers-4.13.0-45-generic
    linux-headers-4.4.0-131 linux-headers-4.4.0-131-generic
    linux-image-4.13.0-43-generic linux-image-4.13.0-45-generic
    linux-image-4.4.0-131-generic linux-image-extra-4.13.0-43-generic
    linux-image-extra-4.13.0-45-generic linux-image-extra-4.4.0-131-generic
  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-0_1.2.54-1ubuntu1.1_amd64.deb ...
  Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):
   trying to overwrite shared '/usr/share/doc/libpng12-0/changelog.Debian.gz', 
which is different from other instances of package libpng12-0:amd64
  Processing triggers for libc-bin (2.23-0ubuntu10) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
  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
  ProcVersionSignature: Ubuntu 4.15.0-32.35~16.04.1-generic 4.15.18
  Uname: Linux 4.15.0-32-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  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.dfsg-2ubuntu4.1
  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-0_1.2.54-1ubuntu1.1_amd64.deb ...
   Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ...
   dpkg: error processing archive 
/var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):
    trying to overwrite shared '/usr/share/doc/libpng12-0/changelog.Debian.gz', 
which is different from other instances of package libpng12-0:amd64
  DuplicateSignature:
   package:libpng12-0:1.2.54-1ubuntu1
   Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ...
   dpkg: error processing archive 
/var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):
    trying to overwrite shared '/usr/share/doc/libpng12-0/changelog.Debian.gz', 
which is different from other instances of package libpng12-0:amd64
  ErrorMessage: trying to overwrite shared 
'/usr/share/doc/libpng12-0/changelog.Debian.gz', which is different from other 
instances of package libpng12-0:amd64
  InstallationDate: Installed on 2018-05-24 (150 days ago)
  InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 
(20180228)
  RelatedPackageVersions:
   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/doc/libpng12-0/changelog.Debian.gz', which is 
different from other instances of package libpng12-0:amd64
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpng/+bug/1799215/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to