![ia32-libs:依赖:ia32-libs-i386 但无法安装](https://linux22.com/image/592215/ia32-libs%EF%BC%9A%E4%BE%9D%E8%B5%96%EF%BC%9Aia32-libs-i386%20%E4%BD%86%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85.png)
我正在尝试在我的 Debian x86_64 机器上安装ia32-libs
(构建 VirtualBox 源的依赖项),但是它给出了错误:
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
当然,我继续尝试安装ia32-libs-i386
,但遇到了另一个错误:
Package ia32-libs-i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ia32-libs-i386' has no installation candidate
有人知道这里的问题是什么吗?我想我可能需要启用多架构,但我并不完全确定。这是我的sources.list
,如果它有帮助的话:
deb http://ftp.us.debian.org/debian unstable main contrib non-free
deb-src http://ftp.us.debian.org/debian unstable main contrib non-free
deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main
答案1
您需要在 amd64 系统上启用 i386 软件包的安装:
dpkg --add-architecture i386
apt-get update
ia32-libs-i386 包只能从 i386 存储库安装,可使用上述命令获取。
答案2
问题在于使用不稳定的 Debian 和测试版。要么使用稳定版(或目前称为 squeeze),要么忍受这种不稳定性。