2012-09-13 32 views
0

我试图在VMWare上运行的Ubuntu上安装vlagrind。 Valgrind安装因为需要libc6-dbg而停止。libc6-dbg安装错误

当我尝试使用安装的libc6-DBG “命令和apt-get安装的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 

很显然,我需要从2.11.3-升级的libc6 3至2.13-35。我该怎么做?许多软件包依赖于libc6。

回答

0

正在运行Ubuntu(最好的linux分发),对不对?我认为你面临的问题是由于你的操作系统,我猜你的一些软件包坏了你应该尝试这些shell命令 - 这可能需要一些宝贵的时间。

$ sudo su 

然后输入密码

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

这为我工作,试试这个,我相信这将解决所有的问题,祝你好运。