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

John Edwards 980573 at bugs.launchpad.net
Tue Oct 22 09:10:51 UTC 2013


Correction for my previous post. The first line should have read:

In my report I think the key is the line which warns that the files list
file for package `libc6' is missing.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in 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

Status in “eglibc” package in Ubuntu:
  Confirmed

Bug description:
  I've upgraded to 12.04 since a couple of weeks ago, since then I've
  periodically updated/dist-upgraded my system.

  The latest attempt fails with the next behavior:

  apt-get update - all goes well

  When trying apt-get dist-upgrade I get this:
  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-0ubuntu6)
           Breaks: libc6:i386 (!= 2.15-0ubuntu6) but 2.15-0ubuntu7 is installed
   libc6:i386 : Breaks: libc6 (!= 2.15-0ubuntu7) but 2.15-0ubuntu6 is installed
   libc6-dev : Depends: libc6 (= 2.15-0ubuntu7) but 2.15-0ubuntu6 is installed
   libc6-i386 : Depends: libc6 (= 2.15-0ubuntu7) but 2.15-0ubuntu6 is installed
  E: Unmet dependencies. Try using -f.

  
  When trying apt-get -f install I get this:
  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-0ubuntu7_amd64.deb (--unpack):
   subprocess new pre-installation script returned error exit status 1
  Errors were encountered while processing:
   /var/cache/apt/archives/libc6_2.15-0ubuntu7_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

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



More information about the foundations-bugs mailing list