Hit http://archive.ubuntu.com precise/restricted Translation-en Hit http://security.ubuntu.com precise-security/restricted Translation-en Hit http://archive.ubuntu.com precise-updates/main Translation-en Hit http://archive.ubuntu.com precise-updates/restricted Translation-en Reading package lists... Done 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: libc6 : Depends: libc-bin (= 2.15-0ubuntu10.6) but 2.15-0ubuntu10.13 is installed libc6-dev : Depends: libc6 (= 2.15-0ubuntu10.13) but 2.15-0ubuntu10.6 is installed E: Unmet dependencies. Try using -f. root@localhost:~# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: libc6 Suggested packages: glibc-doc The following packages will be upgraded: libc6 1 upgraded, 0 newly installed, 0 to remove and 125 not upgraded. 3 not fully installed or removed. Need to get 3,924 kB of archives. After this operation, 1,024 B of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main libc6 i386 2.15-0ubuntu10.13 [3,924 kB] Fetched 3,924 kB in 2s (1,764 kB/s) Preconfiguring packages ... (Reading database ... 76538 files and directories currently installed.) Preparing to replace libc6 2.15-0ubuntu10.6 (using .../libc6_2.15-0ubuntu10.13_i386.deb) ... LD_LIBRARY_PATH contains the traditional /lib directory, but not the multiarch directory /lib/i386-linux-gnu. It is not safe to upgrade the C library in this situation; please remove the /lib/directory from LD_LIBRARY_PATH and try again. dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.13_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.13_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)