我在尝试在 Ubuntu 14.04 上安装 Steam 时遇到了一些依赖性问题。我从http://media.steampowered.com/client/installer/steam.deb得到了 steam-launcher.deb-Package并安装了它:
eva@eva-ubuntu:~/Downloads$ sudo dpkg --install steam_latest.deb
Vormals nicht ausgewähltes Paket steam-launcher wird gewählt.
(Lese Datenbank ... 196920 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von steam_latest.deb ...
Entpacken von steam-launcher (1.0.0.49) ...
steam-launcher (1.0.0.49) wird eingerichtet ...
Trigger für gnome-menus (3.10.1-0ubuntu2) werden verarbeitet ...
Trigger für desktop-file-utils (0.22-1ubuntu1) werden verarbeitet ...
Trigger für bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) werden verarbeitet ...
Rebuilding /usr/share/applications/bamf-2.index...
Trigger für mime-support (3.54ubuntu1.1) werden verarbeitet ...
Trigger für hicolor-icon-theme (0.13-1) werden verarbeitet ...
Trigger für man-db (2.6.7.1-1ubuntu1) werden verarbeitet ...
启动蒸汽给出以下内容:
eva@eva-ubuntu:~/Downloads$ steam
(gnome-terminal:4881): GLib-GIO-CRITICAL **: g_settings_get: the format string may not contain '&' (key 'monospace-font-name' from schema 'org.gnome.desktop.interface'). This call will probably stop working with a future version of glib.
并打开一个新的终端窗口
Steam needs to install these additional packages:
libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386
[sudo] password for eva:
.................................................................................................................
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
libgl1-mesa-glx:i386 : Hängt ab von: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.3)
unity-control-center : Hängt ab von: libcheese-gtk23 (>= 3.4.0) soll aber nicht installiert werden
Hängt ab von: libcheese7 (>= 3.0.1) soll aber nicht installiert werden
E: Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.
Press return to continue:
关闭附加终端窗口后,在第一个窗口中我得到:
Package libgl1-mesa-dri:i386 needs to be installed
Package libgl1-mesa-glx:i386 needs to be installed
Package libc6:i386 needs to be installed
Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME is enabled automatically
Error: You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
[2015-03-07 12:14:01] Startup - updater built Feb 18 2015 15:31:44
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2015-03-07 12:14:01] Checking for update on startup
[2015-03-07 12:14:01] Checking for available updates...
[2015-03-07 12:14:02] Download skipped: /client/steam_client_ubuntu12 version 1424305157, installed version 1424305157
[2015-03-07 12:14:02] Nothing to do
[2015-03-07 12:14:02] Verifying installation...
[2015-03-07 12:14:02] Performing checksum verification of executable files
[2015-03-07 12:14:05] Verification complete
[2015-03-07 12:14:07] Shutdown
eva@eva-ubuntu:~/Downloads$
它还会弹出一个窗口,提示我缺少 libGL1.so.1 的 32 位版本。并尝试启动蒸汽,但失败了。
以前我也做过
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get upgrade
我没有安装任何 PPA,我当前/etc/apt/sources.list
的是:
eva@eva-ubuntu:~/Downloads$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
deb-src http://archive.ubuntu.com/ubuntu trusty main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://be.archive.ubuntu.com/ubuntu/ trusty main restricted multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty main universe multiverse restricted #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://be.archive.ubuntu.com/ubuntu/ trusty-updates main restricted multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-updates main universe multiverse restricted #Added by software-properties
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://be.archive.ubuntu.com/ubuntu/ trusty universe
deb http://be.archive.ubuntu.com/ubuntu/ trusty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://be.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse #Added by software-properties
deb http://security.ubuntu.com/ubuntu trusty-security main restricted multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security main universe multiverse restricted #Added by software-properties
deb http://security.ubuntu.com/ubuntu trusty-security universe
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
不知何故,整个情况看起来有点荒谬,因为两个 libcheese 包似乎已经安装好了,如下所示dpkg -l | grep libcheese
:
ii libcheese-gtk23:amd64 3.10.2-0ubuntu2 amd64 tool to take pictures and videos from your webcam - widgets
ii libcheese7:amd64 3.10.2-0ubuntu2 amd64 tool to take pictures and videos from your webcam - base library
也许错误发生是因为那些不是 32 位的?
我将不胜感激任何帮助!
试试这个,只是一个模拟,实际上什么都不会发生 -
sudo apt-get -s install libgl1-mesa-glx-lts-utopic:i386
如果看起来没问题,则重新运行命令,但删除
-s
以实际安装如果它有问题或失败,则发布终端输出,无论是在您的问题中还是在类似 pastebin 中 - http://paste.ubuntu.com/或http://pastebin.com/并添加指向您问题的链接