[Bug 1365375] Re: package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/gnu', which is also in package libc6-dev-amd64 2.19-0ubuntu6.3
Ben Johnson
1365375 at bugs.launchpad.net
Fri Feb 13 02:53:28 UTC 2015
Thanks for taking the time to report this, richud, and especially for
providing the attachments.
This bug bit me today, too.
Were you able to implement any sort of a workaround?
This seems like a significant problem to go unfixed since September,
2014.
Here's what happened, in my particular case (impetus was to compile
NGINX):
# apt-get install libpcre3-dev zlib1g-dev libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
zlib1g-dev is already the newest version.
zlib1g-dev set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gcc-4.8-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not going to be installed
lib32z1-dev : Depends: lib32c-dev
libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.19-0ubuntu6.5) but it is not going to be installed
libpcre3-dev : Depends: libpcrecpp0 (= 1:8.31-2ubuntu2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Okay, so I try "apt-get install -f"...
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6-dev-i386
The following NEW packages will be installed:
libc6-dev-i386
0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
22 not fully installed or removed.
Need to get 0 B/1,151 kB of archives.
After this operation, 6,337 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 137387 files and directories currently installed.)
Preparing to unpack .../libc6-dev-i386_2.19-0ubuntu6.5_amd64.deb ...
Unpacking libc6-dev-i386 (2.19-0ubuntu6.5) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.5_amd64.deb (--unpack):
trying to overwrite '/usr/include/gnu', which is also in package libc6-dev-amd64 2.19-0ubuntu6.5
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It's a bit difficult to compile anything on this system, without access
to these crucial libraries.
Worse, aptitude is now "stuck" in this state, and complains any time I
try to modify a package (even unrelated packages). Here's an example:
# apt-get autoremove
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:
gcc-4.8-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not installed
lib32z1-dev : Depends: lib32c-dev
libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.19-0ubuntu6.5) but it is not installed
E: Unmet dependencies. Try using -f.
Of course, "apt-get install -f" just vomits the same error that I pasted
above.
So, I'm stuck in a loop with no way out.
Suggestions, anyone?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/1365375
Title:
package libc6-dev-i386 (not installed) failed to install/upgrade:
trying to overwrite '/usr/include/gnu', which is also in package libc6
-dev-amd64 2.19-0ubuntu6.3
Status in eglibc package in Ubuntu:
Confirmed
Bug description:
apt-get install gcc-multilib broke it!
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: libc6-dev-i386 (not installed)
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
Date: Thu Sep 4 08:50:46 2014
DpkgTerminalLog:
Preparing to unpack .../libc6-dev-i386_2.19-0ubuntu6.3_amd64.deb ...
Unpacking libc6-dev-i386 (2.19-0ubuntu6.3) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.3_amd64.deb (--unpack):
trying to overwrite '/usr/include/gnu', which is also in package libc6-dev-amd64 2.19-0ubuntu6.3
DuplicateSignature: package:libc6-dev-i386:(not installed):trying to overwrite '/usr/include/gnu', which is also in package libc6-dev-amd64 2.19-0ubuntu6.3
ErrorMessage: trying to overwrite '/usr/include/gnu', which is also in package libc6-dev-amd64 2.19-0ubuntu6.3
SourcePackage: eglibc
Title: package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/gnu', which is also in package libc6-dev-amd64 2.19-0ubuntu6.3
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1365375/+subscriptions
More information about the foundations-bugs
mailing list