Can not install libc6-dev

Asked by Russell Sutherland

When I try to install libc6-dev the following error occurs:

# apt-get install libc6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Depends: libc6 (= 2.15-0ubuntu10.2) but 2.15-0ubuntu10.3 is to be installed
E: Unable to correct problems, you have held broken packages.

This prevents me from developing software on my ubuntu server distribution.
I am running:

# uname -a
Linux dhcp-7 3.2.0-34-generic #53-Ubuntu SMP Thu Nov 15 10:48:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

On a 64bit system kernel. I am running precise:

Here is my sources.list:

deb precise main restricted
deb-src precise main restricted

deb precise-updates main restricted
deb-src precise-updates main restricted

deb precise universe
deb-src precise universe
deb precise-updates universe
deb-src precise-updates universe

deb precise multiverse
deb-src precise multiverse
deb precise-updates multiverse
deb-src precise-updates multiverse

deb precise-backports main restricted universe multiverse
deb-src precise-backports main restricted universe multiverse

deb precise-security main restricted
deb-src precise-security main restricted
deb precise-security universe
deb-src precise-security universe
deb precise-security multiverse
deb-src precise-security multiverse

Question information

English Edit question
Ubuntu eglibc Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :

I suggest you comment out the backport lines, they can cause issues

Revision history for this message
Russell Sutherland (russ) said :

Nope... I commented out the backport entries, performed:

# aptitude update && aptitude upgrade

The problem persists.

Revision history for this message
actionparsnip (andrew-woodhead666) said :


sudo -i
echo "libc6-dev hold" | dpkg --set-selections; apt-get -f install

Revision history for this message
actionparsnip (andrew-woodhead666) said :

Can you help with this problem?

Provide an answer of your own, or ask Russell Sutherland for more information if necessary.

To post a message you must log in.