我试图在我的Debian x86_64盒子上安装ia32-libs
(一个依赖来构buildVirtualBox源码),但它给了我错误:
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
您需要在amd64系统上启用i386软件包的安装:
dpkg --add-architecture i386 apt-get update
ia32-libs-i386软件包只能从i386存储库安装,可以通过上述命令使用。
另见: http : //wiki.debian.org/Multiarch/Implementation
问题是使用debian不稳定和testing。 要么使用稳定(或现在所谓的挤压)或与破碎生活。