Ubuntu 12.04 – apt-get安装ia32-libs未满足的依赖项

试图安装ia32-libs。 我运行sudo apt-get install ia32-libs。 输出如下:

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: ia32-libs : Depends: lib32v4l-0 (>= 0.5.0) E: Unable to correct problems, you have held broken packages. 

我试过sudo apt-get install -f,sudo apt-get update和sudo apt-get upgrade。 我试图做sudo apt-get安装lib32v41-0,但是这不工作,因为无法find

 sudo apt-get install lib32v41-0 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package lib32v41-0 

任何build议如何获得ia32-libs安装?

ia32-libs实际上只是把32位库存到64位上的一个窍门,作为一个等待多重归档的持久性,我们现在已经使得ia32-libs过时了。 一旦启用,您现在可以将i386软件包直接安装到amd64安装中。

我假设现在你在amd64上。 要validation,运行dpkg --print-architecture并期望它返回amd64 。 然后你可以用dpkg --print-foreign-architectures来检查i386是否被列为dpkg --print-foreign-architectures 。 如果不是,则可以使用dpkg --add-architecture i386启用dpkg --add-architecture i386 。 然后在apt-get update ,你可以通过在包名后附加:i386来安装一个i386版本的库,例如,要安装ncurses的i386版本,你需要运行apt-get install libncurses5:i386