我正在尝试在我的运行在VMWare上的Ubuntu上安装vlagrind。Valgrind安装停止,因为它需要libc6-dbg。
当我尝试使用"sudo apt-get install libc6-dbg“安装libc6-dbg时,我得到这个错误:
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.11.3-3) but 2.13-35 is to be installed很明显,我需要将libc6从2.11.3-3升级到2.13-35。我该怎么做呢?许多包都依赖于libc6。
发布于 2013-07-26 11:57:38
如果你运行的是Ubuntu,我猜你的一些包已经坏了。您应该尝试使用这些shell命令。
$ sudo su然后输入您的密码。
# apt-get clean
# apt-get autoclean
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade
# reboot这对我很有效。祝好运。
https://stackoverflow.com/questions/12400931
复制相似问题