尝试使用Ubuntu软件安装
我想我从来没有摆弄过那个。
steam-installer
,出现了这个非常有帮助的错误。
然后我尝试了命令行:
$ sudo apt install steam-installer
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:
steam-installer : Depends: steam (= 1:1.0.0.61-2ubuntu3)
E: Unable to correct problems, you have held broken packages.
所以steam-installer依赖于无法解决的steam!什么?Ubuntu的Steam软件包是坏的吗?
更新:
$ sudo apt update
Hit:1 http://mx.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://mx.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://mx.archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libssl1.1 openssl python3-software-properties software-properties-common software-properties-gtk
ubuntu-advantage-tools
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2 902 kB of archives.
After this operation, 13.3 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 libssl1.1 amd64 1.1.1f-1ubuntu2.10 [1 322 kB]
Get:2 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 openssl amd64 1.1.1f-1ubuntu2.10 [620 kB]
Get:3 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-advantage-tools amd64 27.4.2~20.04.1 [859 kB]
Get:4 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 software-properties-common all 0.99.9.8 [10.6 kB]
Get:5 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 software-properties-gtk all 0.99.9.8 [66.0 kB]
Get:6 http://mx.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-software-properties all 0.99.9.8 [24.9 kB]
Fetched 2 902 kB in 4s (661 kB/s)
Preconfiguring packages ...
(Reading database ... 418427 files and directories currently installed.)
Preparing to unpack .../0-libssl1.1_1.1.1f-1ubuntu2.10_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1f-1ubuntu2.10) over (1.1.1f-1ubuntu2.9) ...
Preparing to unpack .../1-openssl_1.1.1f-1ubuntu2.10_amd64.deb ...
Unpacking openssl (1.1.1f-1ubuntu2.10) over (1.1.1f-1ubuntu2.9) ...
Preparing to unpack .../2-ubuntu-advantage-tools_27.4.2~20.04.1_amd64.deb ...
Unpacking ubuntu-advantage-tools (27.4.2~20.04.1) over (27.4.1~20.04.1) ...
Preparing to unpack .../3-software-properties-common_0.99.9.8_all.deb ...
Unpacking software-properties-common (0.99.9.8) over (0.98.9.5) ...
Preparing to unpack .../4-software-properties-gtk_0.99.9.8_all.deb ...
Unpacking software-properties-gtk (0.99.9.8) over (0.98.9.5) ...
Preparing to unpack .../5-python3-software-properties_0.99.9.8_all.deb ...
Unpacking python3-software-properties (0.99.9.8) over (0.98.9.5) ...
Setting up libssl1.1:amd64 (1.1.1f-1ubuntu2.10) ...
Setting up python3-software-properties (0.99.9.8) ...
Setting up ubuntu-advantage-tools (27.4.2~20.04.1) ...
Setting up openssl (1.1.1f-1ubuntu2.10) ...
Setting up software-properties-common (0.99.9.8) ...
Setting up software-properties-gtk (0.99.9.8) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
Processing triggers for libc-bin (2.31-0ubuntu9.3) ...
Processing triggers for man-db (2.9.1-1) ...
更新2:
$ sudo apt install steam
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:
steam:i386 : Depends: libgl1-mesa-dri:i386 (>= 17.3) but it is not going to be installed or
libtxc-dxtn0:i386 but it is not installable
Depends: libgl1-mesa-glx:i386 but it is not going to be installed
Depends: libgpg-error0:i386 (>= 1.10) but it is not going to be installed
Depends: libudev1:i386 but it is not going to be installed
Depends: libxcb-dri3-0:i386 (>= 1.11.1) but it is not going to be installed
Depends: libxinerama1:i386 (>= 2:1.1.1) but it is not going to be installed
Depends: libc6:i386 (>= 2.15) but it is not going to be installed
Depends: libstdc++6:i386 (>= 4.8) but it is not going to be installed
Depends: libx11-6:i386 but it is not going to be installed
Recommends: libxss1:i386 but it is not going to be installed
Recommends: mesa-vulkan-drivers:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sources.list:
#deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mx.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mx.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal-updates main restricted
## 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://mx.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal universe
deb http://mx.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal-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.
deb http://mx.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://mx.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal-updates multiverse
## 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://mx.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://mx.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
## 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 focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner
deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
我想我从来没有摆弄过那个。
你请求了一个不可能的情况
通常意味着你没有使用原始的Ubuntu系统,而是进行了一些修改。这些修改现在阻止了Steam的安装。要么恢复这些修改以返回到原始系统,要么编辑你的问题清楚地描述这些修改,以便我们可以提供替代方案。 - user535733sudo apt update
和sudo apt upgrade
的输出粘贴到问题中。 - Nmathapt policy steam-installer
的输出。另外,您为什么不使用Steam官方网站上的官方安装程序steam-latest.deb
呢? - Organic Marblesteam-installer
这个软件包。我在软件源中看到它,但它并没有安装在我的电脑上。我安装的软件包是steam-launcher
。 - Organic Marblesteam-installer
吗?有没有问题? - user1785730steam-installer
。请从Steam官方网站下载官方软件包。它会添加一个软件源,并通过软件包系统提供未来的更新。 - Organic Marblesteam
而不是steam-installer
。输出结果在我的问题中。 - user1785730cat /etc/apt/sources.list
吗? - Nmath/etc/apt/sources.list
。 - user1785730sudo apt install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libgpg-error0:i386 libudev1:i386 libxcb-dri3-0:i386 libxinerama1:i386 libc6:i386 libstdc++6:i386 libx11-6:i386
手动安装这些依赖项——不过我建议先尝试一下Organic Marble的解决方案。 - Nmathsteam
或steam-installer
这两个软件包。 - Organic Marblesudo dpkg --add-architecture i386
;sudo apt-get update
;sudo apt-get install steam
。 - N0rbert