libc6-dev-amd64
我正在尝试在我的 x64 Debian 8 机器上安装。
这是我的sources.list 文件:
deb http://httpredir.debian.org/debian jessie main contrib non-free
deb-src http://httpredir.debian.org/debian jessie main contrib non-free
deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
当我尝试安装时libc6-dev-amd64
,我收到以下错误消息:
root@debian:~# apt-get update
...
root@debian:~# apt-get install libc6-dev-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libc6-dev-amd64
我不明白为什么。据我所知,该包应该在那里:
https://packages.debian.org/jessie/libc6-dev-amd64
那么我该如何解决这个问题呢?
答案1
包裹libc6-dev-amd64
是仅适用于i386
。它允许在 32 位安装上构建 64 位二进制文件。在amd64
像您这样的系统上,您只需要libc6-dev
.