尝试在 16.10 中安装 Steam 时,gcc-5-multilib 和 libc6-dev-x32 的依赖关系未得到满足

尝试在 16.10 中安装 Steam 时,gcc-5-multilib 和 libc6-dev-x32 的依赖关系未得到满足

以下是尝试在 16.10 中安装 Steam 的结果。

sudo apt-get install steam
[sudo] password for micah:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 gcc-5-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not going to be installed
 libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.23-0ubuntu5) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我该如何解决这些未满足的依赖关系?

答案1

Steam 有两个 i386 架构未满足的依赖包依赖于 GNU C 库:AMD64 的 32 位开发库(libc6-dev-i386)。要纠正未满足的依赖关系,请打开终端并输入:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get -f install  
sudo apt-get install steam

答案2

尝试运行此命令:

apt-get --fix-broken install

尝试修复损坏的依赖关系。 (--fix-broken是相同的-f。)

相关内容