![amd64 Debian Sid 上的 i386 多架构支持是否被破坏?](https://linux22.com/image/32275/amd64%20Debian%20Sid%20%E4%B8%8A%E7%9A%84%20i386%20%E5%A4%9A%E6%9E%B6%E6%9E%84%E6%94%AF%E6%8C%81%E6%98%AF%E5%90%A6%E8%A2%AB%E7%A0%B4%E5%9D%8F%EF%BC%9F%20.png)
我目前在使用 Debian Sid 时遇到问题。我的架构是 amd64 (x86-64)。如果我想安装 i386 软件包并运行以下命令:
# dpkg -add-architecture i386
# sudo apt-get update
... i386 软件包已正确检索(可以在输出中看到 i386 apt-get update
),但如果我尝试安装 i386 软件包,它将无法工作:
$ sudo apt-get install libc6:i386
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:i386 : Depends: libgcc1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
如果我尝试通过指定要同时安装 libc6 和 libgcc1 来打破循环依赖关系,那么情况会变得更糟:
$ sudo apt-get install libc6:i386 libgcc1:i386
[insert here the list of all my packages that will be removed]
0 upgraded, 5 newly installed, 2428 to remove and 0 not upgraded.
Need to get 5538 kB of archives.
After this operation, 6787 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?]
它似乎想要删除我所有的 amd64 软件包并用 i386 软件包替换它们,尽管这两个软件包都是可共同安装的(Multi-Arch 在 Debian 控制文件中设置为相同)。
笔记:
- 我是最新的,这不是由于某些软件包更新而导致的故障,因为我可以在几个存储库更新后几天内重现该错误。
- 我是故意使用 Debian Sid 的,并且我知道它内在的不稳定本质。我仍然想了解是什么导致了这个问题。