Ubuntu 12.04——Steam 未运行

Ubuntu 12.04——Steam 未运行

我在 Linux 上使用 Steam 已经有一段时间了,从来没有遇到过任何问题。但最近几天,Steam 似乎无法启动了 - 或者至少,我看不到它运行,也无法访问我的任何游戏。我尝试重新安装它,但无济于事。

如果我尝试在终端运行“steam”,我会得到以下结果:

Running Steam on ubuntu 12.04 64-bit
STEAM_RUNTIME is enabled automatically

然后什么也没有发生。

如果我尝试用 打开它STEAM_RUNTIME=0 steam,我会得到:

Running Steam on ubuntu 12.04 64-bit
STEAM_RUNTIME is disabled by the user

Error: You are missing the following 32-bit libraries, and Steam may not run:

libpangoft2-1.0.so.0
libpango-1.0.so.0
libgtk-x11-2.0.so.0
libgtk-x11-2.0.so.0
libgdk-x11-2.0.so.0
libpangocairo-1.0.so.0
libgdk_pixbuf-2.0.so.0
libcairo.so.2
libpango-1.0.so.0
libnss3.so
libnssutil3.so
libsmime3.so
libplc4.so
libnspr4.so

所以我对这里发生的事情一头雾水。我没有更改配置中的任何内容,甚至不知道在哪里可以找到这样的库。

由于删除和重新安装不起作用,我该怎么办?

小更新:我尝试打开 Playonlinux(我的 WoW 安装现在也停止工作了),然后我收到一条错误消息,基本上说我不再有任何 32 位库,并且我的游戏无法正常运行。所以现在的问题是 - 我如何找回它们?:)

第二次更新:我尝试重新安装 ia32-libs,结果如下:

    sudo apt-get install ia32-libs
    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:
     ia32-libs : Depends: ia32-libs-multiarch
    E: Unable to correct problems, you have held broken packages.

因此我尝试运行 sudo apt-get install ia32-libs-multiarch ,得到了以下结果:

    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:
     ia32-libs-multiarch:i386 : Depends: gstreamer0.10-plugins-good:i386 but it is not going to be installed
                        Depends: gtk2-engines:i386 but it is not going to be installed
                        Depends: gtk2-engines-murrine:i386 but it is not going to be installed
                        Depends: gtk2-engines-pixbuf:i386 but it is not going to be installed
                        Depends: gtk2-engines-oxygen:i386 but it is not going to be installed
                        Depends: ibus-gtk:i386 but it is not going to be installed
                        Depends: libcanberra-gtk-module:i386 but it is not going to be installed
                        Depends: libgail-common:i386 but it is not going to be installed
                        Depends: libgtk2.0-0:i386 but it is not going to be installed
                        Depends: librsvg2-common:i386 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

我认为此时很明显我的 32libs 要么消失了,要么不再被识别,但我不知道为什么。

答案1

不知何故,您缺少库,或者 Steam 不知道它们在哪里。您可以通过运行以下命令解决第一个问题:

sudo apt-get install libpango-1.0-0 libpangoft2-1.0-0 libgtk2.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 libcairo2 libnss3-1d libnss3 libnspr4-0d

完成此操作后,请再试一次。

答案2

我也刚刚遇到了这个问题。我已将 steam 重新定位到 ntfs 格式的驱动器,以便 Windows 读取。我已将 ~/.local/share/Steam 符号链接到另一个文件夹,我认为这就是问题所在。我放回了 Steam 文件并仅链接了 SteamApps 文件夹,然后它就正常工作了。

相关内容