我正在尝试在 Ubuntu 18 上安装 Wine 5。我已经按照 Wine wiki 上推荐的设置(密钥、repo 等)进行了操作。我尝试的所有方法似乎都不起作用。
$ 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.
如果我尝试安装 wine-stable-i386 或 -amd64,它们也会失败。
$ sudo apt install --install-recommends wine-stable-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:
wine-stable-i386:i386 : Depends: libfaudio0:i386 but it is not installable
Recommends: libodbc1:i386 but it is not going to be installed
Recommends: libsdl2-2.0-0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
zork@zork-bd5-com:~/Downloads$ sudo apt install --install-recommends wine-stable-amd64
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
有什么线索吗?我已经删除了 Wine 4。
答案1
解决方案是这里。您必须安装 OpenSUSE repo 才能获得 Wine 5.0 所需的一切。