[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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@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:
>   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 ...
> Selecting previously unselected package libc6-amd64.
> (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)
> 
> Grateful for any hint on how to recover from this (and maybe get rid of 
>  libc6-amd64:i386 this time).
> 

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/

Thanks,
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: