ia32-libs:取决于:ia32-libs-i386,但它不可安装


19

我试图ia32-libs在我的Debian x86_64盒子上安装(依赖项来构建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

5
欢迎来到不稳定。它是不稳定的。您使用它有某些原因吗?对于服务器来说似乎不是一个好主意。
Zoredache

Answers:


33

您需要在amd64系统上启用i386软件包的安装:

dpkg --add-architecture i386
apt-get update

ia32-libs-i386软件包仅可从i386存储库安装,该软件包可通过上述命令使用。

另请参阅:http : //wiki.debian.org/Multiarch/Implementation


我尝试过,然后apt-get警告我,将删除libc-bin,系统可能会很损坏,因此,我必须键入“是,按照我说的做”,以强制将其放入系统中。无法使用的状态。看起来不太好...
lfagundes

1

问题是使用debian不稳定和测试。要么使用稳定的东西(或者像现在这样挤压),要么忍受破损。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.