2013-10-24 98 views
2

我想安裝一些包含依賴關係的包,最終需要底部的libc6和libc6-dev。libc6上debian wheezy和未滿足的依賴關係

我在GCE幾臺機器設置與Debian的喘息(全新安裝),並嘗試安裝我得到這些錯誤的libc6-dev的:

# apt-get install libc6-dev 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
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-dev : Depends: libc6 (= 2.13-38) but 2.17-93ubuntu4 is to be installed 
      Depends: libc-dev-bin (= 2.13-38) 
E: Unable to correct problems, you have held broken packages. 


# apt-cache policy libc6 
libc6: 
    Installed: 2.17-93ubuntu4 
    Candidate: 2.17-93ubuntu4 
    Version table: 
*** 2.17-93ubuntu4 0 
     100 /var/lib/dpkg/status 
    2.13-38 0 
     500 http://gce_debian_mirror.storage.googleapis.com/ wheezy/main amd64 Packages 
     500 http://http.debian.net/debian/ wheezy/main amd64 Packages 

# apt-cache policy libc6-dev 
libc6-dev: 
    Installed: (none) 
    Candidate: 2.13-38 
    Version table: 
    2.13-38 0 
     500 http://gce_debian_mirror.storage.googleapis.com/ wheezy/main amd64 Packages 
     500 http://http.debian.net/debian/ wheezy/main amd64 Packages 


# cat /etc/apt/sources.list 
deb  http://gce_debian_mirror.storage.googleapis.com/ wheezy   main 
deb-src http://gce_debian_mirror.storage.googleapis.com/ wheezy   main 
deb  http://http.debian.net/debian wheezy   main 
deb-src http://http.debian.net/debian wheezy   main 
deb  http://security.debian.org/ wheezy/updates main 
deb-src http://security.debian.org/ wheezy/updates main 

我擡頭看libc6-2.17-93ubuntu4版本它看起來好像是爲了吹毛求疵,而不是喘息。

這是由於谷歌正在使用的自定義wheezy內核?

有關如何安裝這些軟件包的任何提示?

謝謝。

回答

1

我剛剛創建了一個新的wheezy實例,並執行了「apt-get install libc6-dev」,沒有問題。我認爲你的其他軟件包之一是造成依賴衝突。

注入的內核沒有連接到apt-get,所以它不會引起依賴性安裝問題。

相關問題