Package dependency errors : libc
- by piyush
I was trying to install kde-full when the libc had some unmet dependencies error. When saying
sudo apt-get install kde-full
the terminal has this in the end
libc6 : Depends: libc-bin (= 2.15-0ubuntu10)
libc6:i386 : Depends: libc-bin:i386 (= 2.15-0ubuntu10)
libc6-dev : Depends: libc6 (= 2.15-0ubuntu10.3) but 2.15-0ubuntu10 is to be installed
libc6-i386 : Depends: libc6 (= 2.15-0ubuntu10.3) but 2.15-0ubuntu10 is to be installed
When running sudo apt-get -f install, this shows up at the end
De-configuring libc6:i386 ...
A copy of the C library was found in an unexpected directory:
'/lib/x86_64-linux-gnu/libc-2.15.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib/x86_64-linux-gnu' and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Preparing to replace libc6:i386 2.15-0ubuntu10 (using .../libc6_2.15-0ubuntu10.3_i386.deb) ...
De-configuring libc6 ...
A copy of the C library was found in an unexpected directory:
'/lib/i386-linux-gnu/ld-2.15.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib/i386-linux-gnu' and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb
/var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any suggestions how to fix this. I don't desire to have kde-full anymore; only that other installations should work. I've done sudo apt-get update several times, so those suggestions can be kept away
UPD : here is output of dpkg configure
~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libc6-dev:
libc6-dev depends on libc6 (= 2.15-0ubuntu10.3); however:
Version of libc6 on system is 2.15-0ubuntu10.
dpkg: error processing libc6-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6-i386:
libc6-i386 depends on libc6 (= 2.15-0ubuntu10.3); however:
Version of libc6 on system is 2.15-0ubuntu10.
dpkg: error processing libc6-i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6-dev
libc6-i386
~$