缺少 ia32-libs

缺少 ia32-libs

我正在尝试从 deb 文件安装 TeamViewer 9,但是它说需要 ia32-libs,所以无法安装:

我尝试做了一些修复,sudo apt-get dist-upgrade但是:

$ sudo apt-get install ia32-libs-multiarch
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-multiarch:i386 : Depends: libglapi-mesa:i386
                            Depends: libglu1-mesa:i386 but it is not going to be installed
                            Depends: libqt4-opengl:i386 but it is not going to be installed
                            Recommends: libgl1-mesa-glx:i386
                            Recommends: libgl1-mesa-dri:i386
E: Unable to correct problems, you have held broken packages.

有什么办法可以解决这个问题?

答案1

未满足依赖关系的结果之一是,安装的包依赖于其他有其自己依赖包的包。

系统仅安装正在安装的软件包的依赖项。如果这些依赖项有自己的依赖项(第二级),则会导致未满足依赖项的错误。

这里libglu1-mesalibqt4-opengl还依赖于其他包。

在这种情况下,应该将这些软件包包含not going to be installed在安装列表中。

为了更加安全,最好运行--install-recommends安装推荐的软件包。

因此运行:

sudo apt-get --install-recommends install ia32-libs-multiarch libglu1-mesa libqt4-opengl

答案2

我以前在使用其他具有 32 位依赖项的程序时也遇到过这个问题。

为了在 Ubuntu 上修复此问题,我使用以下方法(通过终端):

sudo apt-get update
sudo apt-get install lib32gcc1

对于 Debian,您需要指定体系结构:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install lib32gcc1

相关内容