尝试在 ubuntu 14.04 上安装 steam

尝试在 ubuntu 14.04 上安装 steam

我尝试从软件中心、steam 网站以及通过 apt-get 安装 steam,但总是出现此错误:

Steam needs to install these additional packages:
    libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386
[sudo] password for james:
...........................................................................
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.
 libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed
 libgl1-mesa-dri:i386 : Depends: libdrm-intel1:i386 (>= 2.4.48) but it is not going to be installed
                        Depends: libdrm-nouveau2:i386 (>= 2.4.38) 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.38) 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: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
                        Depends: libllvm3.4:i386 but it is not going to be installed
                        Depends: libstdc++6:i386 (>= 4.6) but it is not going to be installed
                        Recommends: libtxc-dxtn-s2tc0:i386 but it is not going to be installed or
                                    libtxc-dxtn0:i386
 libgl1-mesa-glx:i386 : Depends: libdrm2:i386 (>= 2.3.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: libxxf86vm1:i386 but it is not going to be installed
                        Depends: libudev1:i386 but it is not going to be installed or
                                 libudev0:i386 but it is not installable
 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
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Press return to continue:

我曾尝试做过:

sudo dpkg --add-architecture i386

但它仍然不起作用。

有什麼幫助嗎?

答案1

您的四个软件包没有升级路径或已损坏,因此您收到上述错误。您可以从以下位置验证哪些软件包已损坏apt-get通过运行命令来记录文件:

gedit /var/log/apt/term.log

您可以按照如下方式删除它们:

sudo apt-get remove [package_name]

如果这不起作用,你可以选择资质

Aptitude 用于常见的包管理功能,例如安装、删除和升级。

您可以按如下方式安装:

sudo apt-get install aptitude
sudo aptitude -fy remove [package_name]

删除软件包后尝试再次安装 Steam。

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install steam -y

答案2

尝试

sudo apt-get install -f 

然后运行蒸汽通过终端(至少第一次)。当我遇到依赖关系问题时,这种方法总是管用​​。

相关内容