我在 Ubuntu 14.04 上尝试安装 steam 时遇到了一些依赖问题。我从http://media.steampowered.com/client/installer/steam.deb并安装它:
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$
它还会弹出一个窗口,提示我缺少 32 位版本的 libGL1.so.1。并尝试启动 steam,但失败了。
以前我也做过
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get upgrade
按照提议当无法解析软件包依赖关系时,如何安装 64 位 Steam?。
我没有安装任何 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 位,所以发生错误?
我将不胜感激任何帮助!
答案1
试试这个,只是一个模拟,什么都不会真正发生 -
sudo apt-get -s install libgl1-mesa-glx-lts-utopic:i386
如果看起来没问题,则重新运行该命令,但删除-s
要实际安装的
如果有疑问或者失败,则发布终端输出,可以在您的问题中发布,也可以在 pastebin 中发布,例如 -http://paste.ubuntu.com/或者http://pastebin.com/并添加您问题的链接