0

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

4

1 回答 1

0

如果您正在运行 Ubuntu,我猜您的某些软件包已损坏。您应该尝试这些 shell 命令。

$ sudo su

然后输入您的密码。

# apt-get clean
# apt-get autoclean
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade
# reboot

这对我有用。祝你好运。

于 2013-07-26T03:57:37.943 回答