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

Bug#419879: libc6 upgrade error



Ohba Yoshihiro a écrit :
> Package: libc6
> Version: 2.5-2
> 
> I failed to upgrade libc6.
> I use kernerl 2.6.19.
> Here is dpkg output.
> ---
> # dpkg -i libc6_2.5-2_i386.deb
> (Reading database ... 95161 files and directories currently installed.)
> Preparing to replace libc6 2.3.6.ds1-13 (using libc6_2.5-2_i386.deb) ...
> Unpacking replacement libc6 ...
> /bin/sh: error while loading shared libraries: libdl.so.2: cannot open
> shared object file: No such file or directory
> dpkg: warning - old post-removal script returned error exit status 127
> dpkg - trying script from the new package instead ...
> /bin/sh: error while loading shared libraries: libdl.so.2: cannot open
> shared object file: No such file or directory
> dpkg: error processing libc6_2.5-2_i386.deb (--install):
>  subprocess new post-removal script returned error exit status 127
> /bin/sh: error while loading shared libraries: libdl.so.2: cannot open
> shared object file: No such file or directory
> dpkg: error while cleaning up:
>  subprocess pre-installation script returned error exit status 127
> Errors were encountered while processing:
>  libc6_2.5-2_i386.deb
> ---
> 
> For additional information, my environment has libdl.so.2 linked to
> libdl-2.3.6.so as shown below.
> 
> ---
> $ <ohba@$> ls -l /lib/libdl*
> -rw-r--r-- 1 root root 9592 Feb 21 10:13 /lib/libdl-2.3.6.so
> lrwxrwxrwx 1 root root   14 Apr 18 08:18 /lib/libdl.so.2 -> libdl-2.3.6.so
> 
> $ <a@steelhead:/lib$> ls -l /lib/tls/libdl*
> -rw-r--r-- 1 root root 9592 Feb 21 10:13 /lib/tls/libdl-2.3.6.so
> lrwxrwxrwx 1 root root   14 Apr 17 11:28 /lib/tls/libdl.so.2 ->
> libdl-2.3.6.so
> ---
> 
> Is there anyone having the same problem?
> 

This basically looks like the same bug as #419189, but with different files.

Could you please send us the output of 'ls -l /lib/tls' as well as the
content of /var/log/dpkg.log. This will help us to better understand the
problem.


Note: to restore your system, you can just do a 'mv /lib/tls
/lib/tls.old'. Those file should have been removed by dpkg during the
upgrade.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: