![Steam 需要安装这些附加软件包](https://linux22.com/image/875412/Steam%20%E9%9C%80%E8%A6%81%E5%AE%89%E8%A3%85%E8%BF%99%E4%BA%9B%E9%99%84%E5%8A%A0%E8%BD%AF%E4%BB%B6%E5%8C%85.png)
嗨,我在 ubuntu 中使用 steam 时遇到了一个烦人的问题。运行 steam 后,它显示以下错误:
Steam needs to install these additional packages:
libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386
..........................................................W: Failed to fetch cdrom://Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)/dists/trusty/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch cdrom://Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)/dists/trusty/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
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:
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.4)
unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
N: Ignoring file 'steam.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Press return to continue:
我想补充一点,我是 Linux 新手(我使用 Windows 已经 14 年了,几天前我将它换成了 Ubuntu),所以我并不是非常了解所有东西。
答案1
您的更新设置已启用 CD-ROM 文件。因此,每次尝试更新时,它都会自动查找那些文件,这些文件按定义是过时的。只需取消选择 cdrom 选项并:
sudo apt-get update && sudo apt-get upgrade
应该可以正常运行未选择 CD-ROM 安装文件。
答案2
在 14.04.3 中,这对我来说非常有效。
sudo apt-get install steam -y