无法安装 Steam 依赖项

无法安装 Steam 依赖项

我发现了一些与此类似的问题,但没有一个问题与我的具体情况足够相似,因此没有任何用处。

每当我打开 Steam 时,就会打开一个终端:

Steam needs to install these additional packages: 
    libgl1-mesa-dri:i386, libgl1-mesa-glx:i386

我输入密码并按回车键:

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.5.0~git20150204.661c8bb2-0ubuntu0ricotz~trusty)
 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: 

这是 Ubuntu 14.04 和 Steam 的全新安装。上次我尝试这样做时,我试图解决这些不同的依赖关系,结果搞砸了系统。我需要采取什么步骤来解决这个问题?

如果重要的话,这是 64 位的,我正在使用从 PPA 安装的 gtx980 显卡的 NVIDIA 驱动程序,并且如果需要,我可以提供任何硬件信息。

我尝试使用 sudo apt-get install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 命令并第二次使用 -f 选项,后者导致:

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.5.0~git20150204.661c8bb2-0ubuntu0ricotz~trusty)
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.

答案1

尝试sudo apt-get install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386。如果失败,或者无法解决问题,请执行sudo apt-get install -f

相关内容