[Bug 1404465] [NEW] package libc6-dev-i386 not installed failed to install/upgrade: trying to overwrite /usr/include/sys/pci.h , which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
SP_Otaku
1404465 at bugs.launchpad.net
Sat Dec 20 10:08:16 UTC 2014
Public bug reported:
Was following the instruction for building cynagenmod from source at
http://wiki.cyanogenmod.org/w/Build_for_hammerhead
This was the exact command the caused the error, also it is still on
going and I'm trying to get it resolved.
bison build-essential curl flex git gnupg gperf libesd0-dev
libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop
openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools xsltproc
zip zlib1g-dev
Which told me this:
Installing the following:
g++-4.9-multilib gcc-4.9-multilib lib32asan1 lib32atomic1 lib32cilkrts5 lib32gcc-4.9-dev
lib32gomp1 lib32itm1 lib32ncurses5 lib32quadmath0 lib32readline5 lib32stdc++-4.9-dev
lib32stdc++6 lib32tinfo-dev lib32tinfo5 lib32ubsan0 lib32z1 libc6-dev-i386 libc6-dev-x32
libc6-x32 libx32asan1 libx32atomic1 libx32cilkrts5 libx32gcc-4.9-dev libx32gcc1 libx32gomp1
libx32itm1 libx32quadmath0 libx32stdc++-4.9-dev libx32stdc++6 libx32ubsan0
Suggested packages:
lib32stdc++6-4.9-dbg libx32stdc++6-4.9-dbg ncurses-doc
The following packages will be REMOVED:
libc6-dev-x32:i386 libc6-x32:i386
The following NEW packages will be installed:
g++-4.9-multilib g++-multilib gcc-4.9-multilib gcc-multilib lib32asan1 lib32atomic1
lib32cilkrts5 lib32gcc-4.9-dev lib32gomp1 lib32itm1 lib32ncurses5 lib32ncurses5-dev
lib32quadmath0 lib32readline-gplv2-dev lib32readline5 lib32stdc++-4.9-dev lib32stdc++6
lib32tinfo-dev lib32tinfo5 lib32ubsan0 lib32z1 lib32z1-dev libc6-dev-i386 libc6-dev-x32
libc6-x32 libx32asan1 libx32atomic1 libx32cilkrts5 libx32gcc-4.9-dev libx32gcc1 libx32gomp1
libx32itm1 libx32quadmath0 libx32stdc++-4.9-dev libx32stdc++6 libx32ubsan0
Doing any call to apt get result in:
The following packages have unmet dependencies:
gcc-4.9-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not going to be installed
lib32ncurses5-dev : Depends: lib32c-dev
lib32readline-gplv2-dev : Depends: libc6-dev-i386 but it is not going to be installed
lib32tinfo-dev : Depends: lib32c-dev
lib32z1-dev : Depends: lib32c-dev
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 6 not upgraded.
35 not fully installed or removed.
Need to get 0 B/1,148 kB of archives.
After this operation, 6,342 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 356245 files and directories currently installed.)
Preparing to unpack .../libc6-dev-i386_2.19-10ubuntu2.1_amd64.deb ...
Unpacking libc6-dev-i386 (2.19-10ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-10ubuntu2.1_amd64.deb (--unpack):
trying to overwrite '/usr/include/sys/pci.h', which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev-i386_2.19-10ubuntu2.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I know that the package is incorrect and should be libc6-dev-x32:i386 but can't seem to get past the last message.
libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.19-10ubuntu2.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
and running apt-get -f install results in:
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: libc6-dev-i386 (not installed)
ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1
Uname: Linux 3.16.0-28-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
Date: Sat Dec 20 02:06:44 2014
DpkgTerminalLog:
Preparing to unpack .../libc6-dev-i386_2.19-10ubuntu2.1_amd64.deb ...
Unpacking libc6-dev-i386 (2.19-10ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-10ubuntu2.1_amd64.deb (--unpack):
trying to overwrite '/usr/include/sys/pci.h', which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
Selecting prev
DuplicateSignature: package:libc6-dev-i386:(not installed):trying to overwrite '/usr/include/sys/pci.h', which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
ErrorMessage: trying to overwrite '/usr/include/sys/pci.h', which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
InstallationDate: Installed on 2014-04-30 (234 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: glibc
Title: package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/sys/pci.h', which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
UpgradeStatus: Upgraded to utopic on 2014-10-27 (53 days ago)
** Affects: glibc (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package utopic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1404465
Title:
package libc6-dev-i386 not installed failed to install/upgrade:
trying to overwrite /usr/include/sys/pci.h , which is also in package
libc6-dev-amd64 2.19-10ubuntu2.1
Status in glibc package in Ubuntu:
New
Bug description:
Was following the instruction for building cynagenmod from source at
http://wiki.cyanogenmod.org/w/Build_for_hammerhead
This was the exact command the caused the error, also it is still on
going and I'm trying to get it resolved.
bison build-essential curl flex git gnupg gperf libesd0-dev
libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils
lzop openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools
xsltproc zip zlib1g-dev
Which told me this:
Installing the following:
g++-4.9-multilib gcc-4.9-multilib lib32asan1 lib32atomic1 lib32cilkrts5 lib32gcc-4.9-dev
lib32gomp1 lib32itm1 lib32ncurses5 lib32quadmath0 lib32readline5 lib32stdc++-4.9-dev
lib32stdc++6 lib32tinfo-dev lib32tinfo5 lib32ubsan0 lib32z1 libc6-dev-i386 libc6-dev-x32
libc6-x32 libx32asan1 libx32atomic1 libx32cilkrts5 libx32gcc-4.9-dev libx32gcc1 libx32gomp1
libx32itm1 libx32quadmath0 libx32stdc++-4.9-dev libx32stdc++6 libx32ubsan0
Suggested packages:
lib32stdc++6-4.9-dbg libx32stdc++6-4.9-dbg ncurses-doc
The following packages will be REMOVED:
libc6-dev-x32:i386 libc6-x32:i386
The following NEW packages will be installed:
g++-4.9-multilib g++-multilib gcc-4.9-multilib gcc-multilib lib32asan1 lib32atomic1
lib32cilkrts5 lib32gcc-4.9-dev lib32gomp1 lib32itm1 lib32ncurses5 lib32ncurses5-dev
lib32quadmath0 lib32readline-gplv2-dev lib32readline5 lib32stdc++-4.9-dev lib32stdc++6
lib32tinfo-dev lib32tinfo5 lib32ubsan0 lib32z1 lib32z1-dev libc6-dev-i386 libc6-dev-x32
libc6-x32 libx32asan1 libx32atomic1 libx32cilkrts5 libx32gcc-4.9-dev libx32gcc1 libx32gomp1
libx32itm1 libx32quadmath0 libx32stdc++-4.9-dev libx32stdc++6 libx32ubsan0
Doing any call to apt get result in:
The following packages have unmet dependencies:
gcc-4.9-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not going to be installed
lib32ncurses5-dev : Depends: lib32c-dev
lib32readline-gplv2-dev : Depends: libc6-dev-i386 but it is not going to be installed
lib32tinfo-dev : Depends: lib32c-dev
lib32z1-dev : Depends: lib32c-dev
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 6 not upgraded.
35 not fully installed or removed.
Need to get 0 B/1,148 kB of archives.
After this operation, 6,342 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 356245 files and directories currently installed.)
Preparing to unpack .../libc6-dev-i386_2.19-10ubuntu2.1_amd64.deb ...
Unpacking libc6-dev-i386 (2.19-10ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-10ubuntu2.1_amd64.deb (--unpack):
trying to overwrite '/usr/include/sys/pci.h', which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev-i386_2.19-10ubuntu2.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I know that the package is incorrect and should be libc6-dev-x32:i386 but can't seem to get past the last message.
libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.19-10ubuntu2.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
and running apt-get -f install results in:
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: libc6-dev-i386 (not installed)
ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1
Uname: Linux 3.16.0-28-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
Date: Sat Dec 20 02:06:44 2014
DpkgTerminalLog:
Preparing to unpack .../libc6-dev-i386_2.19-10ubuntu2.1_amd64.deb ...
Unpacking libc6-dev-i386 (2.19-10ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-10ubuntu2.1_amd64.deb (--unpack):
trying to overwrite '/usr/include/sys/pci.h', which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
Selecting prev
DuplicateSignature: package:libc6-dev-i386:(not installed):trying to overwrite '/usr/include/sys/pci.h', which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
ErrorMessage: trying to overwrite '/usr/include/sys/pci.h', which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
InstallationDate: Installed on 2014-04-30 (234 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: glibc
Title: package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/sys/pci.h', which is also in package libc6-dev-amd64 2.19-10ubuntu2.1
UpgradeStatus: Upgraded to utopic on 2014-10-27 (53 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1404465/+subscriptions
More information about the foundations-bugs
mailing list