2013-10-24 109 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,所以它不会引起依赖性安装问题。

相关问题