无法在 Ubuntu 16.10 上安装 Steam

无法在 Ubuntu 16.10 上安装 Steam

我在 Windows 10 的双启动中安装了 Ubuntu 16.10。我尝试安装 Steam,但它在终端中显示以下内容:

Steam needs to install these additional packages: libgl1-mesa-dri:i386, libgl1-mesa-glx:i386 [sudo] password for user:

当我输入密码时:

............ 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-6-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not going to be installed libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.24-3ubuntu2) but it is not going to be installed libgl1-mesa-dri : Breaks: libgl1-mesa-dri:i386 (!= 12.0.3-1ubuntu2) but 12.0.6-0ubuntu0.16.10.1 is to be installed libgl1-mesa-dri:i386 : Depends: libdrm-amdgpu1:i386 (>= 2.4.63) but it is not going to be installed Depends: libdrm-intel1:i386 (>= 2.4.48) but it is not going to be installed Depends: libdrm-nouveau2:i386 (>= 2.4.66) but it is not going to be installed Depends: libdrm-radeon1:i386 (>= 2.4.31) but it is not going to be installed Depends: libdrm2:i386 (>= 2.4.66) but it is not going to be installed Depends: libelf1:i386 (>= 0.142) but it is not going to be installed Depends: libexpat1:i386 (>= 2.0.1) but it is not going to be installed Depends: libgcrypt20:i386 (>= 1.7.0) but it is not going to be installed Depends: libllvm3.8:i386 but it is not going to be installed Depends: libstdc++6:i386 (>= 5.2) but it is not going to be installed Recommends: libtxc-dxtn-s2tc:i386 but it is not installable or libtxc-dxtn-s2tc0:i386 but it is not going to be installed or libtxc-dxtn0:i386 Breaks: libgl1-mesa-dri (!= 12.0.6-0ubuntu0.16.10.1) but 12.0.3-1ubuntu2 is to be installed libgl1-mesa-glx : Breaks: libgl1-mesa-glx:i386 (!= 12.0.3-1ubuntu2) but 12.0.6-0ubuntu0.16.10.1 is to be installed libgl1-mesa-glx:i386 : Depends: libdrm2:i386 (>= 2.3.1) but it is not going to be installed Depends: libexpat1:i386 (>= 2.0.1) but it is not going to be installed Depends: libglapi-mesa:i386 (= 12.0.6-0ubuntu0.16.10.1) but it is not going to be installed Depends: libx11-6:i386 (>= 2:1.4.99.1) but it is not going to be installed Depends: libx11-xcb1:i386 but it is not going to be installed Depends: libxcb-dri2-0:i386 (>= 1.8) but it is not going to be installed Depends: libxcb-dri3-0:i386 but it is not going to be installed Depends: libxcb-glx0:i386 (>= 1.8) but it is not going to be installed Depends: libxcb-present0:i386 but it is not going to be installed Depends: libxcb-sync1:i386 but it is not going to be installed Depends: libxcb1:i386 (>= 1.9.2) but it is not going to be installed Depends: libxdamage1:i386 (>= 1:1.1) but it is not going to be installed Depends: libxext6:i386 but it is not going to be installed Depends: libxfixes3:i386 but it is not going to be installed Depends: libxshmfence1:i386 but it is not going to be installed Depends: libxxf86vm1:i386 but it is not going to be installed Depends: libudev1:i386 but it is not going to be installed Breaks: libgl1-mesa-glx (!= 12.0.6-0ubuntu0.16.10.1) but 12.0.3-1ubuntu2 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). Press return to continue:

当我按下回车键时,显示一个错误日志,内容为:

You are missing the following 32-bit libraries, and Steam may not run: libGL.so.1 Press enter to continue

请帮忙。 ;(

答案1

通常,这里的问题是未安装 steam 所需的依赖项。命令出错是因为您的系统包处于错误状态,您可以在第二次粘贴的完整输出中看到这一点。

您需要按照错误输出的建议运行“sudo apt-get -f install”,并希望它能够修复问题。在某些情况下,它可能无法修复,在这种情况下,您需要使用该命令的确切输出来寻找进一步的输出。

相关内容