我正在尝试安装一些具有依赖链的软件包,最终需要 libc6 和 libc6-dev 在底部。
我在 GCE 中有几台机器设置了 debian wheezy(全新安装),并且在尝试安装 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 版本,看起来它是为了俏皮,而不是喘息。
这是由于 Google 使用的自定义 wheezy 内核吗?
关于如何安装这些软件包的任何提示?
谢谢。