有人可以帮我安装 WineHQ 吗?

有人可以帮我安装 WineHQ 吗?

我想在 Ubuntu 20.04 中安装 wine,但我按照官方说明操作这里...

sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' 
sudo apt install --install-recommends winehq-stable

但终端中会出现以下错误消息:

sudo apt install --install-recommends winehq-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:
 winehq-stable : Depends: wine-stable (= 6.0.1~hirsute-1)
E: Unable to correct problems, you have held broken packages.

答案1

我找到了答案这里

我的问题的答案是:

sudo apt install --install-recommends winehq-stable

相关内容