This now effects one of my machines that was upgraded to Ubuntu 12.04
from 10.04 a few months ago.

I used aptitude to upgrade the kernel and libc packages released
yesterday (21 Oct 2013) which failed with similar errors to above. Below
is a dump of 'sudo apt-get install -f' ran afterwards:

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  linux-image-server
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libc6 linux-headers-3.2.0-55-generic-pae linux-headers-generic-pae
The following NEW packages will be installed
  linux-headers-3.2.0-55-generic-pae
The following packages will be upgraded:
  libc6 linux-headers-generic-pae
2 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
2 not fully installed or removed.
Need to get 0 B/4,923 kB of archives.
After this operation, 11.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Preconfiguring packages ...
(Reading database ... 
dpkg: warning: files list file for package `libc6' missing, assuming package 
has no files currently installed.
(Reading database ... 437713 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10.4 (using 
.../libc6_2.15-0ubuntu10.5_i386.deb) ...

A copy of the C library was found in an unexpected directory:
  '/lib/i386-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/i386-linux-gnu' and try again.

dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.5_i386.deb 
(--unpack):
 subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports has already been reached
                                                                    Errors were 
encountered while processing:
 /var/cache/apt/archives/libc6_2.15-0ubuntu10.5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/980573

Title:
  apt-get fails at libc6 upgrade with "A copy of the C library was found
  in an unexpected directory" error message

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/980573/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to