I'm having some problems installing Valgrind:
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$ sudo apt-get install valgrind
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 to resolve the situation:
The following packages have unmet dependencies:
valgrind : Depends: libc6-dbg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$ sudo apt-get install libc6-dbg
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 to resolve the situation:
The following packages have unmet dependencies:
libc6-dbg : Depends: libc6 (= 2.15-0ubuntu10) but 2.15-0ubuntu10.3 is to be installed
E: Unable to correct problems, you have held broken packages.
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$ sudo apt-get install libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$ sudo apt-get install valgrind
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 to resolve the situation:
The following packages have unmet dependencies:
valgrind : Depends: libc6-dbg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$ sudo apt-get install libc6-dbg
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 to resolve the situation:
The following packages have unmet dependencies:
libc6-dbg : Depends: libc6 (= 2.15-0ubuntu10) but 2.15-0ubuntu10.3 is to be installed
E: Unable to correct problems, you have held broken packages.
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$ sudo apt-get install libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$ sudo apt-get install valgrind
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 to resolve the situation:
The following packages have unmet dependencies:
valgrind : Depends: libc6-dbg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$ sudo apt-get install libc6-dbg
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 to resolve the situation:
The following packages have unmet dependencies:
libc6-dbg : Depends: libc6 (= 2.15-0ubuntu10) but 2.15-0ubuntu10.3 is to be installed
E: Unable to correct problems, you have held broken packages.
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$ sudo apt-get install libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
cristi@cristi-System-Product-Name:~/Downloads/valgrind-3.8.1$
sudo apt-get updateand try again. BTW, have you downloaded valgrind source code? If so, why are trying to install it via apt? – Eric Carvalho Dec 5 '12 at 0:11precise-updatesenabled, installed some updates, and then disabled it. Re-enable it again. – tumbleweed Dec 5 '12 at 9:59