PDA

View Full Version : After the last update libc6 has break depends



vista killer
Sep 30th 2011, 11:13 AM
My distro is from 11.04 upgrade. After two days an update break the library libc6 and libc6-i368.
I know that both of these lib are from 11.04. Normally the distro has to install the new library libc-bin and remove both of the other but that didnt happen.
I try to fix it with -f install but it returns this

dpkg: warning: 'ldconfig' not found in PATH or not executable.
dpkg: error: 1 expected program not found in PATH or not executable.
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
E: Sub-process /usr/bin/dpkg returned an error code (2)

and i have now 57 break package that depends on libc-i368. Any advice what i have to do?

vista killer
Oct 2nd 2011, 11:39 PM
the solution was to give this command

aptitude download libc-bin
dpkg-deb -x libc-bin*.deb libc-bin-unpacked/
sudo cp libc-bin-unpacked/sbin/ldconfig* /sbin/

And then you must install libc-bin from package system by: apt-get install libc-bin.