2012-09-13 44 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 

這爲我工作,試試這個,我相信這將解決所有的問題,祝你好運。