Public bug reported:

Installing libkmod2-dev:i386 fails when the 64-bit version is also
installed. See below. The 'partially installed' package is because of a
previous aptitude install command which included many other packages
which first showed the error.


$ sudo aptitude install libudev-dev:i386
The following NEW packages will be installed:
  libkmod2:i386{a} 
The following partially installed packages will be configured:
  libudev-dev:i386 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/45.9 kB of archives. After unpacking 136 kB will be used.
Do you want to continue? [Y/n/?] Y
(Reading database ... 514830 files and directories currently installed.)
Preparing to unpack .../libkmod2_22-1ubuntu4_i386.deb ...
Unpacking libkmod2:i386 (22-1ubuntu4) ...
dpkg: error processing archive 
/var/cache/apt/archives/libkmod2_22-1ubuntu4_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libkmod2/changelog.Debian.gz', 
which is different from other instances of package libkmod2:i386
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libkmod2_22-1ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package.  Trying to recover:
dpkg: dependency problems prevent configuration of libudev-dev:i386:
 libudev-dev:i386 depends on libkmod2 (>= 5~); however:
  Package libkmod2:i386 is not installed.

dpkg: error processing package libudev-dev:i386 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libudev-dev:i386

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libkmod2 22-1ubuntu4 [modified: 
usr/share/doc/libkmod2/changelog.Debian.gz]
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Jul 23 14:55:19 2016
Dependencies:
 gcc-6-base 6.0.1-0ubuntu1
 libc6 2.23-0ubuntu3
 libgcc1 1:6.0.1-0ubuntu1
DuplicateSignature:
 package:libkmod2:22-1ubuntu4 [modified: 
usr/share/doc/libkmod2/changelog.Debian.gz]
 Unpacking libkmod2:i386 (22-1ubuntu4) ...
 dpkg: error processing archive 
/var/cache/apt/archives/libkmod2_22-1ubuntu4_i386.deb (--unpack):
  trying to overwrite shared '/usr/share/doc/libkmod2/changelog.Debian.gz', 
which is different from other instances of package libkmod2:i386
ErrorMessage: trying to overwrite shared 
'/usr/share/doc/libkmod2/changelog.Debian.gz', which is different from other 
instances of package libkmod2:i386
InstallationDate: Installed on 2014-04-18 (826 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt  1.2.12~ubuntu16.04.1
SourcePackage: kmod
Title: package libkmod2 22-1ubuntu4 [modified: 
usr/share/doc/libkmod2/changelog.Debian.gz] failed to install/upgrade: trying 
to overwrite shared '/usr/share/doc/libkmod2/changelog.Debian.gz', which is 
different from other instances of package libkmod2:i386
UpgradeStatus: Upgraded to xenial on 2016-07-22 (1 days ago)

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


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

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

Title:
  libkmod2-dev:i386 fails to install on ubuntu 16.04 x64

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to