Apt 抱怨缺少一些包......

Apt 抱怨缺少一些包......

我在 Ubuntu 19.10 上安装了 Steam:

编辑:

最初,我尝试这样做:

apt install steam

然后我收到这个错误:

Package steam is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'steam' has no installation candidate

然后...我环顾四周,看看是否可能是从错误的地方安装它,然后执行了以下操作:

https://repo.steampowered.com/steam/archive/precise/steam_latest.deb

dpkg -i steam_latest.deb

Apt 抱怨缺少一些包......

apt --fix-broken install

运行蒸汽

steam

输出

Running Steam on ubuntu 19.10 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
/home/user/.local/share/Steam/ubuntu12_32/steam
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
process 9557: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to stat "/etc/machine-id": Value too large for defined data type
See the manual page for dbus-uuidgen to correct this issue.
process 9557: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to stat "/etc/machine-id": Value too large for defined data type
See the manual page for dbus-uuidgen to correct this issue.
Installing breakpad exception handler for appid(steam)/version(1585264767)
Fontconfig warning: line 5: unknown element "its:rules"
Fontconfig warning: line 6: unknown element "its:translateRule"
Fontconfig warning: line 9: unknown element "description"
Fontconfig error: "conf.d", line 1: failed reading config file
STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy
process 9557: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to stat "/etc/machine-id": Value too large for defined data type
See the manual page for dbus-uuidgen to correct this issue.
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
[0329/211548.041683:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
[0329/211548.061836:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0329/211548.061916:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1585263054
[0329/211548.061921:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0329/211548.061926:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
[0329/211548.112333:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0329/211548.112421:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1585263054
[0329/211548.112426:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0329/211548.112431:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0329/211548.113137:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process
[0329/211548.143220:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process.
Installing breakpad exception handler for appid(steam)/version(1585264767)
[0329/211548.179622:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0329/211548.179700:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1585263054
[0329/211548.179704:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0329/211548.179718:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0329/211548.180467:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)
Installing breakpad exception handler for appid(steam)/version(1585264767)

process 9650: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to stat "/etc/machine-id": Value too large for defined data type
See the manual page for dbus-uuidgen to correct this issue.
process 9650: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to stat "/etc/machine-id": Value too large for defined data type
See the manual page for dbus-uuidgen to correct this issue.
INTEL-MESA: warning: Ivy Bridge Vulkan support is incomplete

最后,这是我看到的屏幕:

Steam 截图

编辑:我有中文字体:

locale -a

C
C.UTF-8
en_US.utf8
POSIX
zh_CN
zh_CN.gb2312
zh_CN.utf8

我的系统上英文和中文字体均能正确显示,并且默认设置为英文。如果这有区别的话,我还使用 i3 作为窗口管理器。

答案1

在 Ubuntu 21.04 中也遇到了同样的问题

首先,从https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip

提取其中的字体到~/.local/share/fonts/

然后

sudo apt-get install libatk-adaptor:i386 libgail-common:i386 cups:i386-

(删除包裹是为了防止它拖入各种不必要的东西)

然后重新启动 Steam。

证明它与 Ubuntu 的“未发布”版本无关:Ubuntu 14.04 Steam 字体问题

相关内容