Karbono
Posts: 18
Joined: Mon Oct 01, 2012 7:08 pm

A copy of the C library was found in an unexpected directory

Mon Dec 10, 2012 8:15 pm

After doing an apt-get update / upgrade, I get this:

Code: Select all

A copy of the C library was found in an unexpected directory:
  '/lib/arm-linux-gnueabihf/libc-2.13.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/arm-linux-gnueabihf' and try again.
It happens at the end of the upgrade process.

Now I can't install or uninstall anything because apt-get states there are unsolved dependencies. It suggests I run

Code: Select all

apt-get -f install
But that doesn't work because

Code: Select all

A copy of the C library was found in an unexpected directory:
  '/lib/arm-linux-gnueabihf/libc-2.13.so'
I'm not starting with a clean image, but with one that I'm *almost* certain contains no errors. I would prefer to "save" this installation... Any help is appreciated.

Thanks

Karbono
Posts: 18
Joined: Mon Oct 01, 2012 7:08 pm

Re: A copy of the C library was found in an unexpected direc

Mon Dec 10, 2012 8:18 pm

when I remove /lib/arm-linux-gnueabihf/libc-2.13.so all hell breaks loose and no command works

TarjeiB
Posts: 157
Joined: Thu Jul 12, 2012 3:33 pm

Re: A copy of the C library was found in an unexpected direc

Tue Feb 26, 2013 12:17 pm

Same problem. Can't find a fix! I've moved it all over the place with ldconfig and the works, but it will always complain.

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4257
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: A copy of the C library was found in an unexpected direc

Tue Feb 26, 2013 12:21 pm

Have you tried apt-get dist-upgrade?

Return to “Troubleshooting”