[Bug 1765649] Re: package libpng12-0 1.2.54-1ubuntu1 [modified: usr/share/doc/libpng12-0/ANNOUNCE usr/share/doc/libpng12-0/KNOWNBUG usr/share/doc/libpng12-0/README.gz usr/share/doc/libpng12-0/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libpng12-0/KNOWNBUG', which is different from other instances of package libpng12-0:i386

Launchpad Bug Tracker 1765649 at bugs.launchpad.net
Fri Mar 27 17:18:59 UTC 2020


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: libpng (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libpng in Ubuntu.
https://bugs.launchpad.net/bugs/1765649

Title:
  package libpng12-0 1.2.54-1ubuntu1 [modified:
  usr/share/doc/libpng12-0/ANNOUNCE usr/share/doc/libpng12-0/KNOWNBUG
  usr/share/doc/libpng12-0/README.gz
  usr/share/doc/libpng12-0/changelog.Debian.gz] failed to
  install/upgrade: trying to overwrite shared
  '/usr/share/doc/libpng12-0/KNOWNBUG', which is different from other
  instances of package libpng12-0:i386

Status in libpng package in Ubuntu:
  Confirmed

Bug description:
  This bug appeared when I was trying to install teamviewer which doesn't work.
  There are some dependencies that break the installation.
  Then I tried to remove teamviewer:
  sudo apt-get remove teamviewer
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  You might want to run 'apt-get -f install' to correct these:
  The following packages have unmet dependencies:
   libpng12-0 : Breaks: libpng12-0:i386 (!= 1.2.54-1ubuntu1) but 1.2.50-2+deb8u3 is to be installed
   libpng12-0:i386 : Depends: libc6:i386 (>= 2.11) but it is not going to be installed
                     Depends: zlib1g:i386 (>= 1:1.1.4) but it is not going to be installed
                     Breaks: libpng12-0 (!= 1.2.50-2+deb8u3) but 1.2.54-1ubuntu1 is to be installed
  E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

  Then as suggested I tried: sudo apt-get -f install 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Correcting dependencies... Done
  The following additional packages will be installed:
    gcc-6-base:i386 libc6:i386 libgcc1:i386 libpng12-0:i386 zlib1g:i386
  Suggested packages:
    glibc-doc:i386 locales:i386
  The following packages will be REMOVED:
    teamviewer
  The following NEW packages will be installed:
    gcc-6-base:i386 libc6:i386 libgcc1:i386 zlib1g:i386
  The following packages will be upgraded:
    libpng12-0:i386
  1 upgraded, 4 newly installed, 1 to remove and 210 not upgraded.
  3 not fully installed or removed.
  Need to get 2.501 kB of archives.
  After this operation, 142 MB disk space will be freed.
  Do you want to continue? [Y/n] y
  Get:1 http://ro.archive.ubuntu.com/ubuntu xenial/main i386 gcc-6-base i386 6.0.1-0ubuntu1 [14,3 kB]
  Get:2 http://ro.archive.ubuntu.com/ubuntu xenial/main i386 libgcc1 i386 1:6.0.1-0ubuntu1 [46,8 kB]
  Get:3 http://ro.archive.ubuntu.com/ubuntu xenial-updates/main i386 libc6 i386 2.23-0ubuntu10 [2.266 kB]
  Get:4 http://ro.archive.ubuntu.com/ubuntu xenial-updates/main i386 zlib1g i386 1:1.2.8.dfsg-2ubuntu4.1 [52,1 kB]
  Get:5 http://ro.archive.ubuntu.com/ubuntu xenial/main i386 libpng12-0 i386 1.2.54-1ubuntu1 [122 kB]
  Fetched 2.501 kB in 0s (4.625 kB/s)       
  Preconfiguring packages ...
  (Reading database ... 253717 files and directories currently installed.)
  Removing teamviewer (12.0.93330) ...
  Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
  Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
  Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
  Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
  Rebuilding /usr/share/applications/bamf-2.index...
  Processing triggers for mime-support (3.59ubuntu1) ...
  (Reading database ... 253416 files and directories currently installed.)
  Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1_i386.deb ...
  Unpacking libpng12-0:i386 (1.2.54-1ubuntu1) over (1.2.50-2+deb8u3) ...
  dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1_i386.deb (--unpack):
   trying to overwrite shared '/usr/share/doc/libpng12-0/KNOWNBUG', which is different from other instances of package libpng12-0:i386
  Selecting previously unselected package gcc-6-base:i386.
  Preparing to unpack .../gcc-6-base_6.0.1-0ubuntu1_i386.deb ...
  Unpacking gcc-6-base:i386 (6.0.1-0ubuntu1) ...
  Selecting previously unselected package libgcc1:i386.
  Preparing to unpack .../libgcc1_1%3a6.0.1-0ubuntu1_i386.deb ...
  Unpacking libgcc1:i386 (1:6.0.1-0ubuntu1) ...
  Selecting previously unselected package libc6:i386.
  Preparing to unpack .../libc6_2.23-0ubuntu10_i386.deb ...
  Unpacking libc6:i386 (2.23-0ubuntu10) ...
  Replacing files in old package libc6-i386 (2.23-0ubuntu10) ...
  Selecting previously unselected package zlib1g:i386.
  Preparing to unpack .../zlib1g_1%3a1.2.8.dfsg-2ubuntu4.1_i386.deb ...
  Unpacking zlib1g:i386 (1:1.2.8.dfsg-2ubuntu4.1) ...
  Processing triggers for libc-bin (2.23-0ubuntu10) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: libpng12-0 1.2.54-1ubuntu1 [modified: usr/share/doc/libpng12-0/ANNOUNCE usr/share/doc/libpng12-0/KNOWNBUG usr/share/doc/libpng12-0/README.gz usr/share/doc/libpng12-0/changelog.Debian.gz]
  ProcVersionSignature: Ubuntu 4.13.0-38.43~16.04.1-generic 4.13.16
  Uname: Linux 4.13.0-38-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  Date: Fri Apr 20 12:30:39 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
  DpkgTerminalLog:
   Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1_i386.deb ...
   Unpacking libpng12-0:i386 (1.2.54-1ubuntu1) over (1.2.50-2+deb8u3) ...
   dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1_i386.deb (--unpack):
    trying to overwrite shared '/usr/share/doc/libpng12-0/KNOWNBUG', which is different from other instances of package libpng12-0:i386
  DuplicateSignature:
   package:libpng12-0:1.2.54-1ubuntu1 [modified: usr/share/doc/libpng12-0/ANNOUNCE usr/share/doc/libpng12-0/KNOWNBUG usr/share/doc/libpng12-0/README.gz usr/share/doc/libpng12-0/changelog.Debian.gz]
   Unpacking libpng12-0:i386 (1.2.54-1ubuntu1) over (1.2.50-2+deb8u3) ...
   dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1_i386.deb (--unpack):
    trying to overwrite shared '/usr/share/doc/libpng12-0/KNOWNBUG', which is different from other instances of package libpng12-0:i386
  ErrorMessage: trying to overwrite shared '/usr/share/doc/libpng12-0/KNOWNBUG', which is different from other instances of package libpng12-0:i386
  InstallationDate: Installed on 2017-10-21 (181 days ago)
  InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.24
  SourcePackage: libpng
  Title: package libpng12-0 1.2.54-1ubuntu1 [modified: usr/share/doc/libpng12-0/ANNOUNCE usr/share/doc/libpng12-0/KNOWNBUG usr/share/doc/libpng12-0/README.gz usr/share/doc/libpng12-0/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libpng12-0/KNOWNBUG', which is different from other instances of package libpng12-0:i386
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list