Wednesday, April 24, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3225  / 2 Years ago, fri, may 27, 2022, 11:19:58

When I try to install Valgrind with sudo apt-get install valgrind, I get error:



valgrind : Depends: libc6-dbg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Is there any (safe) solution for this?
I have Ubuntu 13.04.


More From » installation

 Answers
7

You can get a list of actual held packages with:



dpkg --get-selections | grep hold


Another method of troubleshooting may be to use aptitude rather than apt-get to try to install your package:



sudo aptitude install valgrind


Aptitude will give up less easily, and will attempt to find solutions which may involve modifying other packages. It may give you more explanation of the problem and options for fixing it.



source


[#31141] Sunday, May 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tisglitter

Total Points: 307
Total Questions: 103
Total Answers: 119

Location: Bosnia and Herzegovina
Member since Thu, Jun 24, 2021
3 Years ago
tisglitter questions
Sun, Jan 9, 22, 16:18, 2 Years ago
Wed, Jun 1, 22, 18:03, 2 Years ago
Fri, Dec 10, 21, 14:31, 2 Years ago
;