"E: Internal Error, Could not early remove linux-libc-dev" in multiarch chroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Oneiric |
Fix Released
|
High
|
Michael Vogt |
Bug Description
I am playing with MultiArch toolchain and got interesting bug from APT.
How to reproduce:
1. create fresh oneiric chroot
2. follow https:/
3. run "apt-get install libpng-dev:armel" - it will install gcc-4.6:armel binutils:armel and lot of *-dev:armel packages
4. run "file /usr/bin/gcc-4.6" to check is it ARM binary ("/usr/bin/gcc-4.6: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped")
5. run "apt-get install gcc-4.6"
You should get something like this:
root@lumpek:/# apt-get install gcc-4.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
binutils cpp-4.6 libc6-dev libcloog-ppl0 libgmp10 libgmpxx4ldbl libgomp1 libmpc2 libmpfr4 libppl-c4 libppl9 libpwl5 libquadmath0 linux-libc-dev
Suggested packages:
binutils-doc gcc-4.6-locales gcc-4.6-multilib libmudflap0-4.6-dev gcc-4.6-doc libgcc1-dbg libgomp1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold
glibc-doc manpages-dev
Recommended packages:
gcc c-compiler
The following packages will be REMOVED:
binutils:armel cpp:armel cpp-4.6:armel gcc:armel gcc-4.6:armel libcloog-ppl0:armel libgmp10:armel libgmpxx4ldbl:armel libmpc2:armel libmpfr4:armel
libppl-c4:armel libppl9:armel libpwl5:armel
The following NEW packages will be installed:
binutils cpp-4.6 gcc-4.6 libc6-dev libcloog-ppl0 libgmp10 libgmpxx4ldbl libgomp1 libmpc2 libmpfr4 libppl-c4 libppl9 libpwl5 libquadmath0 linux-libc-dev
0 upgraded, 15 newly installed, 13 to remove and 0 not upgraded.
Need to get 21.0 MB of archives.
After this operation, 34.6 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Fetched 21.0 MB in 16s (1260 kB/s)
E: Internal Error, Could not early remove linux-libc-dev
Removal of "gcc-4.6:armel binutils:armel" and then trying to install "gcc-4.6" ends with same bug.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apt 0.8.14.1ubuntu7
ProcVersionSign
Uname: Linux 3.0-2-generic x86_64
Architecture: amd64
Date: Tue Jun 28 10:48:27 2011
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=pl_PL.UTF-8
LANGUAGE=pl_PL:en
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in apt (Ubuntu): | |
status: | New → Confirmed |
Changed in apt (Ubuntu Oneiric): | |
status: | Confirmed → In Progress |
Installing amd64 package by hand using dpkg removed the issue.