Bug#741031: I can confirm this bug, too
On Tue, 06 May 2014 08:44:02 +0200, Aurelien Jarno writes: >On Mon, May 05, 2014 at 10:13:51AM +0200, Robert Waldner wrote: >> >> Trying to upgrade to current Jessie, eg. from 2.17-97 to 2.18-5, got >> libc6-amd64:i386 into a state where it seems impossible to continue. >> Removing libc6-amd64:i386 fails because the package is "in a bad >> state", reinstalling doesn't work, either, nor das apt-get -f install: >> >> At first failure, I tried with the steps outlined in #736097, and (like >> Francesco) hosed my system - luckily I had sash installed and could >> revocer via that. >> >> Now it seems I'm stuck in a loop: >Before trying to provide any hint, but also to be able to understand and >fix the problem, we need to have a clear status of your system. Could >you please run the following commands and send us the output: > >- dpkg -l "libc*" >- ls -l /lib /lib32 /lib64 /lib/i386-linux-gnu/ /lib/x86_64-linux-gnu/ Hi Aurelien, sorry, your mail overlapped with me managing to get back to a working system. I've got most of the state of the libc6* (not libc*) packages still in the scroll buffer, but not all of it (this is literally the top of the scroll buffer): iU libc6-amd64 2.18-5 i386 Embedded GNU C Library: 64bit Shared libraries for AMD64 iU libc6-dbg:amd64 2.18-5 amd64Embedded GNU C Library: detached debugging symbols iU libc6-dev:amd64 2.18-5 amd64Embedded GNU C Library: Development Libraries and Header Files iU libc6-dev:i3862.18-5 i386 Embedded GNU C Library: Development Libraries and Header Files iU libc6-dev-i3862.18-5 amd64Embedded GNU C Library: 32-bit development libraries for AMD64 iU libc6-dev-x32 2.18-5 amd64Embedded GNU C Library: X32 ABI Development Libraries for AMD64 iU libc6-i3862.18-5 amd64Embedded GNU C Library: 32-bit shared libraries for AMD64 rc libc6-i686:i386 2.13-38 i386 Embedded GNU C Library: Shared libraries [i686 optimized] iU libc6-x32 2.18-5 amd64Embedded GNU C Library: X32 ABI Shared libraries for AMD64 :) root@fsck->/usr/local/src/games # ls -la /lib/x86_64-linux-gnu/libdl-2.1* -rw-r--r-- 1 root root 14664 Nov 29 18:00 /lib/x86_64-linux-gnu/libdl-2.17.so I could get the rest of the output, but it'd be from the working system, so I guess there wouldn't much of a point. Thanks for taking the time and trying to help me out. Kind regards, robert -- -- "You're lost in the maze of /usr/ucb and /usr/xpg/bin. An evil -- tset attacks you." - az about Solaris signature.asc Description: Digital Signature
Bug#741031: I can confirm this bug, too
On Mon, May 05, 2014 at 10:13:51AM +0200, Robert Waldner wrote: > > Trying to upgrade to current Jessie, eg. from 2.17-97 to 2.18-5, got > libc6-amd64:i386 into a state where it seems impossible to continue. > Removing libc6-amd64:i386 fails because the package is "in a bad > state", reinstalling doesn't work, either, nor das apt-get -f install: > > At first failure, I tried with the steps outlined in #736097, and (like > Francesco) hosed my system - luckily I had sash installed and could > revocer via that. > > Now it seems I'm stuck in a loop: > > # 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: > libc-bin libc6 libc6-amd64:i386 > Suggested packages: > glibc-doc > The following packages will be upgraded: > libc-bin libc6 libc6-amd64:i386 > 3 upgraded, 0 newly installed, 0 to remove and 1235 not upgraded. > 12 not fully installed or removed. > Need to get 0 B/8,518 kB of archives. > After this operation, 115 kB disk space will be freed. > Do you want to continue? [Y/n] > Preconfiguring packages ... > (Reading database ... 294301 files and directories currently installed.) > Preparing to unpack .../libc6-amd64_2.18-5_i386.deb ... > Unpacking libc6-amd64 (2.18-5) over (2.17-97) ... > Replaced by files in installed package libc6:amd64 (2.17-97) ... > dpkg: warning: subprocess old post-removal script was killed by signal > (Segmentation fault) > dpkg: trying script from the new package instead ... > dpkg: error processing archive > /var/cache/apt/archives/libc6-amd64_2.18-5_i386.deb (--unpack): > subprocess new post-removal script was killed by signal (Segmentation fault) > dpkg: error while cleaning up: > subprocess installed pre-installation script was killed by signal > (Segmentation fault) > Preparing to unpack .../libc6_2.18-5_amd64.deb ... > Checking for services that may need to be restarted... > Checking init scripts... > Warning: found a potentially broken dynamic loader symlink, > disabling ldconfig to avoid a possible system breakage. It > will be reenabled when a new version of libc-bin is unpacked. > Unpacking libc6:amd64 (2.18-5) over (2.17-97) ... > dpkg: warning: subprocess old post-removal script was killed by signal > (Segmentation fault) > dpkg: trying script from the new package instead ... > dpkg: error processing archive /var/cache/apt/archives/libc6_2.18-5_amd64.deb > (--unpack): > subprocess new post-removal script was killed by signal (Segmentation fault) > dpkg: error while cleaning up: > subprocess installed pre-installation script was killed by signal > (Segmentation fault) > Errors were encountered while processing: > /var/cache/apt/archives/libc6-amd64_2.18-5_i386.deb > /var/cache/apt/archives/libc6_2.18-5_amd64.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > :( root@fsck->/usr/local/src/games # apt-get remove libc6-amd64:i386 > 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: > libc-bin : Depends: libc6 (< 2.18) but 2.18-5 is to be installed > E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify > a solution). > :( root@fsck->/usr/local/src/games # apt-get --reinstall install libc6-amd64- > libc6 libc-bin > Reading package lists... Done > Building dependency tree > Reading state information... Done > Suggested packages: > glibc-doc > The following packages will be REMOVED: > libc6-amd64:i386 > The following packages will be upgraded: > libc-bin libc6 > 2 upgraded, 0 newly installed, 1 to remove and 1235 not upgraded. > 12 not fully installed or removed. > Need to get 0 B/5,927 kB of archives. > After this operation, 11.0 MB disk space will be freed. > Do you want to continue? [Y/n] > Preconfiguring packages ... > dpkg: error processing package libc6-amd64 (--remove): > package is in a very bad inconsistent state; you should > reinstall it before attempting a removal > E: Sub-process /usr/bin/dpkg returned an error code (1) > :( root@fsck->/usr/local/src/games # dpkg -r libc6-amd64 > dpkg: error processing package libc6-amd64 (--remove): > package is in a very bad inconsistent state; you should > reinstall it before attempting a removal > Errors were encountered while processing: > libc6-amd64 > :( root@fsck->/usr/local/src/games # apt-get --reinstall install > libc6-amd64:i386 > 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: > libc-bin : Depends: libc6 (< 2.18) but 2.18-5 is to be installed > E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify > a solution). > :( root@fs
Bug#741031: I can confirm this bug, too
On Mon, 05 May 2014 10:13:51 +0200, Robert Waldner writes: >Trying to upgrade to current Jessie, eg. from 2.17-97 to 2.18-5, got > libc6-amd64:i386 into a state where it seems impossible to continue. > Removing libc6-amd64:i386 fails because the package is "in a bad > state", reinstalling doesn't work, either, nor das apt-get -f install: > >At first failure, I tried with the steps outlined in #736097, and (like > Francesco) hosed my system - luckily I had sash installed and could > revocer via that. > >Now it seems I'm stuck in a loop: FWIW, after some experimentation in a chrooted copy of the system I was able to revover, here's a snippet of my shell history: 588 LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/ apt-get -f install Didn't help. every new process would just segfault, until (ldconfig had been symlinked to /bin/true before): 589 /sbin/ldconfig.real Seems the apt-get -f install with LD_LIBRARY_PATH set got me far enough so that now it was possible to continue w/o errors: 590 apt-get -f install 591 apt-get -s remove libc6-amd64 592 apt-get -s --purge remove libc6-amd64 593 apt-get --purge remove libc6-amd64 Now I'm in a state without broken/half-installed libc6* packages, finally could get rid of libc6-amd64, and can continue with upgrading: :) waldner@fsck->~ $ COLUMNS=72 dpkg -l | grep libc6 | egrep ^i ii libc6:amd642.18-5 amd64Embedded GNU C Library: Shared li ii libc6:i386 2.18-5 i386 Embedded GNU C Library: Shared li ii libc6-dbg:amd6 2.18-5 amd64Embedded GNU C Library: detached ii libc6-dev:amd6 2.18-5 amd64Embedded GNU C Library: Developme ii libc6-dev:i386 2.18-5 i386 Embedded GNU C Library: Developme ii libc6-dev-i386 2.18-5 amd64Embedded GNU C Library: 32-bit de ii libc6-dev-x32 2.18-5 amd64Embedded GNU C Library: X32 ABI D ii libc6-i386 2.18-5 amd64Embedded GNU C Library: 32-bit sh ii libc6-x32 2.18-5 amd64Embedded GNU C Library: X32 ABI S Kind regards, robert -- -- Too much is just enough. -- Mark Twain (on whiskey) signature.asc Description: Digital Signature
Bug#741031: I can confirm this bug, too
Trying to upgrade to current Jessie, eg. from 2.17-97 to 2.18-5, got libc6-amd64:i386 into a state where it seems impossible to continue. Removing libc6-amd64:i386 fails because the package is "in a bad state", reinstalling doesn't work, either, nor das apt-get -f install: At first failure, I tried with the steps outlined in #736097, and (like Francesco) hosed my system - luckily I had sash installed and could revocer via that. Now it seems I'm stuck in a loop: # 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: libc-bin libc6 libc6-amd64:i386 Suggested packages: glibc-doc The following packages will be upgraded: libc-bin libc6 libc6-amd64:i386 3 upgraded, 0 newly installed, 0 to remove and 1235 not upgraded. 12 not fully installed or removed. Need to get 0 B/8,518 kB of archives. After this operation, 115 kB disk space will be freed. Do you want to continue? [Y/n] Preconfiguring packages ... (Reading database ... 294301 files and directories currently installed.) Preparing to unpack .../libc6-amd64_2.18-5_i386.deb ... Unpacking libc6-amd64 (2.18-5) over (2.17-97) ... Replaced by files in installed package libc6:amd64 (2.17-97) ... dpkg: warning: subprocess old post-removal script was killed by signal (Segmentation fault) dpkg: trying script from the new package instead ... dpkg: error processing archive /var/cache/apt/archives/libc6-amd64_2.18-5_i386.deb (--unpack): subprocess new post-removal script was killed by signal (Segmentation fault) dpkg: error while cleaning up: subprocess installed pre-installation script was killed by signal (Segmentation fault) Preparing to unpack .../libc6_2.18-5_amd64.deb ... Checking for services that may need to be restarted... Checking init scripts... Warning: found a potentially broken dynamic loader symlink, disabling ldconfig to avoid a possible system breakage. It will be reenabled when a new version of libc-bin is unpacked. Unpacking libc6:amd64 (2.18-5) over (2.17-97) ... dpkg: warning: subprocess old post-removal script was killed by signal (Segmentation fault) dpkg: trying script from the new package instead ... dpkg: error processing archive /var/cache/apt/archives/libc6_2.18-5_amd64.deb (--unpack): subprocess new post-removal script was killed by signal (Segmentation fault) dpkg: error while cleaning up: subprocess installed pre-installation script was killed by signal (Segmentation fault) Errors were encountered while processing: /var/cache/apt/archives/libc6-amd64_2.18-5_i386.deb /var/cache/apt/archives/libc6_2.18-5_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) :( root@fsck->/usr/local/src/games # apt-get remove libc6-amd64:i386 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: libc-bin : Depends: libc6 (< 2.18) but 2.18-5 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). :( root@fsck->/usr/local/src/games # apt-get --reinstall install libc6-amd64- libc6 libc-bin Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: glibc-doc The following packages will be REMOVED: libc6-amd64:i386 The following packages will be upgraded: libc-bin libc6 2 upgraded, 0 newly installed, 1 to remove and 1235 not upgraded. 12 not fully installed or removed. Need to get 0 B/5,927 kB of archives. After this operation, 11.0 MB disk space will be freed. Do you want to continue? [Y/n] Preconfiguring packages ... dpkg: error processing package libc6-amd64 (--remove): package is in a very bad inconsistent state; you should reinstall it before attempting a removal E: Sub-process /usr/bin/dpkg returned an error code (1) :( root@fsck->/usr/local/src/games # dpkg -r libc6-amd64 dpkg: error processing package libc6-amd64 (--remove): package is in a very bad inconsistent state; you should reinstall it before attempting a removal Errors were encountered while processing: libc6-amd64 :( root@fsck->/usr/local/src/games # apt-get --reinstall install libc6-amd64:i386 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: libc-bin : Depends: libc6 (< 2.18) but 2.18-5 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). :( root@fsck->/usr/local/src/games # 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: libc-bin libc6 libc6-amd64:i386 Suggested packages: glib