Ubuntu libc6 dbg安装错误

Ubuntu libc6 dbg安装错误,ubuntu,Ubuntu,我正在尝试在运行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 unstab

我正在尝试在运行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。

您正在运行Ubuntu(最好的
linux
发行版),对吗?我认为你所面临的问题是因为你的操作系统,我想你的一些软件包坏了。你应该试试这些shell命令——这可能会占用你一些宝贵的时间

$ sudo su
然后输入您的密码

# apt-get clean
# apt-get autoclean
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade
# reboot
这对我有用,试试这个,我相信这会解决你所有的问题,祝你好运