uname -a
回报
Linux mypcname 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
回报
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa
我做sudo dpkg --add-architecture i386
成功了,i386被列在国外架构中。
当我运行sudo apt-get install steam
或sudo apt-get install libc6:i386
它返回时:
sudo apt-get 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:
dictionaries-common : Depends: libtext-iconv-perl but it is not going to be installed
steam:i386 : Depends: libc6:i386 (>= 2.15) but it is not going to be installed
Depends: libstdc++6:i386 (>= 4.3) but it is not going to be installed
Depends: libx11-6:i386 but it is not going to be installed
Depends: libudev1:i386 but it is not going to be installed
Depends: libxinerama1:i386 but it is not going to be installed
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-dri:i386 but it is not going to be installed
Depends: libgl1-mesa-glx:i386 but it is not going to be installed
Depends: libgpg-error0:i386 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
错误sudo apt-get install libc6: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:
dictionaries-common : Depends: debconf (>= 1.5.5) but it is not going to be installed or
debconf-2.0
Depends: libtext-iconv-perl but it is not going to be installed
libc6 : Depends: libgcc1 but it is not going to be installed
Breaks: libc6:i386 (!= 2.28-2) but 2.27-3ubuntu1 is to be installed
libc6:i386 : Breaks: libc6 (!= 2.27-3ubuntu1) but 2.28-2 is to be installed
libssl1.1 : Depends: debconf (>= 0.5) but it is not going to be installed or
debconf-2.0
libsystemd0 : PreDepends: libgcrypt20 (>= 1.8.0) but it is not going to be installed
libxml2 : Depends: libicu60 (>= 60.1-1~) but it is not going to be installed
php7.2-cli : Depends: libedit2 (>= 2.11-20080614-4) but it is not going to be installed
Depends: php7.2-readline but it is not going to be installed
php7.2-common : Depends: php-common (>= 1:35) but it is not going to be installed
php7.2-json : Depends: php-common (>= 1:35) but it is not going to be installed
php7.2-opcache : Depends: php-common (>= 1:35) but it is not going to be installed
tzdata : Depends: debconf (>= 0.5) but it is not going to be installed or
debconf-2.0
ucf : Depends: debconf (>= 1.5.19) but it is not going to be installed
Depends: coreutils (>= 5.91)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
我在网上搜索了几个小时的解决方案,但没有任何效果。
答案1
我无法通过 apt 安装它,但 flatpak 可以工作:
flatpak install flathub com.valvesoftware.Steam
问题解决了。
感谢@ajgringo619