Package: src:eglibc Version: 2.17-1 Severity: important This upgrade failed:
$ sudo apt-get install linux-libc-dev Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libc-dev-bin libc6:amd64 libc6 libc6-amd64 libc6-dbg libc6-dev:amd64 libc6-dev libc6-dev-amd64 libc6-i686 linux-libc-dev:amd64 locales [why did APT want to upgrade these anyway?] Suggested packages: glibc-doc:amd64 locales:amd64 glibc-doc manpages-dev:amd64 Recommended packages: gcc:amd64 c-compiler:amd64 The following packages will be upgraded: libc-dev-bin libc6:amd64 libc6 libc6-amd64 libc6-dbg libc6-dev:amd64 libc6-dev libc6-dev-amd64 libc6-i686 linux-libc-dev:amd64 linux-libc-dev locales 12 upgraded, 0 newly installed, 0 to remove and 439 not upgraded. Need to get 37.3 MB of archives. After this operation, 14.7 MB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://cdn.debian.net/debian/ sid/main libc6-dev-amd64 i386 2.17-1 [2,604 kB] Get:2 http://cdn.debian.net/debian/ sid/main libc6-amd64 i386 2.17-1 [4,863 kB] Get:3 http://cdn.debian.net/debian/ sid/main linux-libc-dev amd64 3.8.11-1 [842 kB] Get:4 http://cdn.debian.net/debian/ sid/main linux-libc-dev i386 3.8.11-1 [843 kB] Get:5 http://cdn.debian.net/debian/ sid/main libc6-dev i386 2.17-1 [5,542 kB] Get:6 http://cdn.debian.net/debian/ sid/main libc6-dev amd64 2.17-1 [3,147 kB] Get:7 http://cdn.debian.net/debian/ sid/main libc-dev-bin i386 2.17-1 [227 kB] Get:8 http://cdn.debian.net/debian/ sid/main locales all 2.17-1 [3,816 kB] Get:9 http://cdn.debian.net/debian/ sid/main libc6 amd64 2.17-1 [4,766 kB] Get:10 http://cdn.debian.net/debian/ sid/main libc6 i386 2.17-1 [4,131 kB] Get:11 http://cdn.debian.net/debian/ sid/main libc6-i686 i386 2.17-1 [1,450 kB] Get:12 http://cdn.debian.net/debian/ sid/main libc6-dbg i386 2.17-1 [5,090 kB] Fetched 37.3 MB in 1min 6s (564 kB/s) Reading changelogs... Done Preconfiguring packages ... (Reading database ... 241833 files and directories currently installed.) Preparing to replace libc6-dev-amd64 2.13-38 (using .../libc6-dev-amd64_2.17-1_i386.deb) ... Unpacking replacement libc6-dev-amd64 ... Preparing to replace libc6-amd64 2.13-38 (using .../libc6-amd64_2.17-1_i386.deb) ... Unpacking replacement libc6-amd64 ... Replaced by files in installed package libc6:amd64 ... Preparing to replace linux-libc-dev:i386 3.2.39-2 (using .../linux-libc-dev_3.8.11-1_i386.deb) ... De-configuring linux-libc-dev:amd64 ... Unpacking replacement linux-libc-dev:i386 ... Preparing to replace linux-libc-dev:amd64 3.2.39-2 (using .../linux-libc-dev_3.8.11-1_amd64.deb) ... Unpacking replacement linux-libc-dev:amd64 ... Setting up linux-libc-dev:i386 (3.8.11-1) ... Setting up linux-libc-dev:amd64 (3.8.11-1) ... (Reading database ... 241766 files and directories currently installed.) Preparing to replace libc6-dev:amd64 2.13-38 (using .../libc6-dev_2.17-1_amd64.deb) ... De-configuring libc6-dev:i386 ... Unpacking replacement libc6-dev:amd64 ... Preparing to replace libc6-dev:i386 2.13-38 (using .../libc6-dev_2.17-1_i386.deb) ... Unpacking replacement libc6-dev:i386 ... Preparing to replace locales 2.13-38 (using .../locales_2.17-1_all.deb) ... Unpacking replacement locales ... Preparing to replace libc6:i386 2.13-38 (using .../archives/libc6_2.17-1_i386.deb) ... De-configuring libc6:amd64 ... Checking for services that may need to be restarted... Checking init scripts... Unpacking replacement libc6:i386 ... Preparing to replace libc6:amd64 2.13-38 (using .../libc6_2.17-1_amd64.deb) ... Checking for services that may need to be restarted... Checking init scripts... dpkg: error processing /var/cache/apt/archives/libc6_2.17-1_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 1 Processing triggers for man-db ... Processing triggers for lintian ... Errors were encountered while processing: /var/cache/apt/archives/libc6_2.17-1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) It's not very nice of the preinst to fail without explanation, is it? So I repacked it with set +x added and the installation ended with: + echo Checking init scripts... Checking init scripts... + runlevel + sed s/.*\ // + rl=5 + [ -n ] + [ amd64 = armhf ] + touch /etc/ld.so.nohwcap + readlink -e /lib64/ld-linux-x86-64.so.2 + ldfile= OK, where is /lib64/ld-linux-x86-64.so.2 pointing? To ld-2.13.so, which does not exist. This is left over from libc6-amd64, which dpkg has mostly but not entirely removed in preparation for the upgrade that replaces it. Here's the dpkg log for this: 2013-05-08 01:33:52 startup archives unpack 2013-05-08 01:33:52 upgrade libc6-dev-amd64:i386 2.13-38 2.17-1 2013-05-08 01:33:52 status half-configured libc6-dev-amd64:i386 2.13-38 2013-05-08 01:33:52 status unpacked libc6-dev-amd64:i386 2.13-38 2013-05-08 01:33:52 status half-installed libc6-dev-amd64:i386 2.13-38 2013-05-08 01:33:52 status half-installed libc6-dev-amd64:i386 2.13-38 2013-05-08 01:33:52 status unpacked libc6-dev-amd64:i386 2.17-1 2013-05-08 01:33:52 status unpacked libc6-dev-amd64:i386 2.17-1 2013-05-08 01:33:52 upgrade libc6-amd64:i386 2.13-38 2.17-1 2013-05-08 01:33:52 status half-configured libc6-amd64:i386 2.13-38 2013-05-08 01:33:52 status unpacked libc6-amd64:i386 2.13-38 2013-05-08 01:33:52 status half-installed libc6-amd64:i386 2.13-38 2013-05-08 01:33:52 status half-installed libc6-amd64:i386 2.13-38 2013-05-08 01:33:52 status unpacked libc6-amd64:i386 2.17-1 2013-05-08 01:33:52 status unpacked libc6-amd64:i386 2.17-1 2013-05-08 01:33:52 upgrade linux-libc-dev:i386 3.2.39-2 3.8.11-1 2013-05-08 01:33:52 status half-configured linux-libc-dev:i386 3.2.39-2 2013-05-08 01:33:52 status unpacked linux-libc-dev:i386 3.2.39-2 2013-05-08 01:33:52 status half-configured linux-libc-dev:amd64 3.2.39-2 2013-05-08 01:33:52 status half-installed linux-libc-dev:i386 3.2.39-2 2013-05-08 01:33:53 status half-installed linux-libc-dev:i386 3.2.39-2 2013-05-08 01:33:53 status unpacked linux-libc-dev:i386 3.8.11-1 2013-05-08 01:33:53 status unpacked linux-libc-dev:i386 3.8.11-1 2013-05-08 01:33:53 upgrade linux-libc-dev:amd64 3.2.39-2 3.8.11-1 2013-05-08 01:33:53 status half-configured linux-libc-dev:amd64 3.2.39-2 2013-05-08 01:33:53 status unpacked linux-libc-dev:amd64 3.2.39-2 2013-05-08 01:33:53 status half-installed linux-libc-dev:amd64 3.2.39-2 2013-05-08 01:33:53 status half-installed linux-libc-dev:amd64 3.2.39-2 2013-05-08 01:33:53 status unpacked linux-libc-dev:amd64 3.8.11-1 2013-05-08 01:33:53 status unpacked linux-libc-dev:amd64 3.8.11-1 2013-05-08 01:33:54 startup packages configure 2013-05-08 01:33:54 configure linux-libc-dev:i386 3.8.11-1 <none> 2013-05-08 01:33:54 status unpacked linux-libc-dev:i386 3.8.11-1 2013-05-08 01:33:54 status half-configured linux-libc-dev:i386 3.8.11-1 2013-05-08 01:33:54 status installed linux-libc-dev:i386 3.8.11-1 2013-05-08 01:33:54 configure linux-libc-dev:amd64 3.8.11-1 <none> 2013-05-08 01:33:54 status unpacked linux-libc-dev:amd64 3.8.11-1 2013-05-08 01:33:54 status half-configured linux-libc-dev:amd64 3.8.11-1 2013-05-08 01:33:54 status installed linux-libc-dev:amd64 3.8.11-1 2013-05-08 01:33:54 startup archives unpack 2013-05-08 01:33:54 upgrade libc6-dev:amd64 2.13-38 2.17-1 2013-05-08 01:33:54 status half-configured libc6-dev:amd64 2.13-38 2013-05-08 01:33:54 status unpacked libc6-dev:amd64 2.13-38 2013-05-08 01:33:54 status half-configured libc6-dev:i386 2.13-38 2013-05-08 01:33:54 status half-installed libc6-dev:amd64 2.13-38 2013-05-08 01:33:55 status half-installed libc6-dev:amd64 2.13-38 2013-05-08 01:33:55 status unpacked libc6-dev:amd64 2.17-1 2013-05-08 01:33:55 status unpacked libc6-dev:amd64 2.17-1 2013-05-08 01:33:55 upgrade libc6-dev:i386 2.13-38 2.17-1 2013-05-08 01:33:55 status half-configured libc6-dev:i386 2.13-38 2013-05-08 01:33:55 status unpacked libc6-dev:i386 2.13-38 2013-05-08 01:33:55 status half-installed libc6-dev:i386 2.13-38 2013-05-08 01:33:55 status half-installed libc6-dev:i386 2.13-38 2013-05-08 01:33:55 status unpacked libc6-dev:i386 2.17-1 2013-05-08 01:33:55 status unpacked libc6-dev:i386 2.17-1 2013-05-08 01:33:55 upgrade locales:all 2.13-38 2.17-1 2013-05-08 01:33:55 status half-configured locales:all 2.13-38 2013-05-08 01:33:55 status unpacked locales:all 2.13-38 2013-05-08 01:33:55 status half-installed locales:all 2.13-38 2013-05-08 01:33:55 status triggers-pending man-db:i386 2.6.3-3 2013-05-08 01:33:55 status half-installed locales:all 2.13-38 2013-05-08 01:33:56 status triggers-pending lintian:all 2.5.10.4 2013-05-08 01:33:56 status half-installed locales:all 2.13-38 2013-05-08 01:33:56 status half-installed locales:all 2.13-38 2013-05-08 01:33:56 status unpacked locales:all 2.17-1 2013-05-08 01:33:56 status unpacked locales:all 2.17-1 2013-05-08 01:33:56 upgrade libc6:i386 2.13-38 2.17-1 2013-05-08 01:33:56 status half-configured libc6:i386 2.13-38 2013-05-08 01:33:56 status unpacked libc6:i386 2.13-38 2013-05-08 01:33:56 status half-configured libc6:amd64 2.13-38 2013-05-08 01:33:56 status half-installed libc6:i386 2.13-38 2013-05-08 01:33:57 status half-installed libc6:i386 2.13-38 2013-05-08 01:33:57 status unpacked libc6:i386 2.17-1 2013-05-08 01:33:57 status unpacked libc6:i386 2.17-1 2013-05-08 01:33:57 upgrade libc6:amd64 2.13-38 2.17-1 2013-05-08 01:33:57 status half-configured libc6:amd64 2.13-38 2013-05-08 01:33:57 status unpacked libc6:amd64 2.13-38 2013-05-08 01:33:57 status half-installed libc6:amd64 2.13-38 2013-05-08 01:33:58 status unpacked libc6:amd64 2.13-38 2013-05-08 01:33:58 status installed libc6:amd64 2.13-38 2013-05-08 01:33:58 trigproc man-db:i386 2.6.3-3 2.6.3-3 2013-05-08 01:33:58 status half-configured man-db:i386 2.6.3-3 2013-05-08 01:33:58 status installed man-db:i386 2.6.3-3 2013-05-08 01:33:58 trigproc lintian:all 2.5.10.4 2.5.10.4 2013-05-08 01:33:58 status half-configured lintian:all 2.5.10.4 2013-05-08 01:33:58 status installed lintian:all 2.5.10.4 -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.8-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org