所以我在 Ubuntu 18.04 上运行,每当我尝试安装 Wine 时,这就是我得到的。
$ sudo apt-get install --install-recommends wine-stable
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:
wine-stable : Depends: wine-stable-i386 (= 5.0.0~bionic)
Depends: wine-stable-amd64 (= 5.0.0~bionic) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
然后,当我尝试添加时,$ sudo apt-get install wine-stable-amd64
我得到了这个。
$ sudo apt-get install wine-stable-amd64
[sudo] password for user:
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:
wine-stable-amd64 : Depends: libfaudio0 but it is not installable
Recommends: libsdl2-2.0-0 but it is not installable
E: Unable to correct problems, you have held broken packages.
我是 Ubuntu 的新手,但我不是最好的,所以我非常感谢有关此问题的含义以及如何纠正它的一些帮助。
这是安装 Wine 5 的 Ubuntu 18.04 方法。它出现在这个网站上。
我将详细说明步骤:
启用 32 位支持:
为 Wine 添加存储库:下载 Wine 官方包存储库的 GPG 密钥:
添加 Wine GPG 密钥:
添加官方 Wine 包存储库:
下载 OpenSUSE Wine 存储库的 GPG 密钥:
添加 GPG 密钥:
添加 OpenSUSE Wine 存储库:
更新 APT 包存储库缓存:
您已准备好安装 Wine 5:
按 Y,然后按 Enter
一旦安装了 Wine 5,您就可以对其进行配置。