无法在 Ubuntu 22.04 上安装 wine

无法在 Ubuntu 22.04 上安装 wine

我按照 winehq 在此处“https://wiki.winehq.org/Ubuntu”提供的说明进行操作。但是当我运行“sudo apt install --install-recommends winehq-stable”时,出现此错误:

Reading package lists... Done
Building dependency tree... Done
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 (= 8.0.0.0~jammy-1)
E: Unable to correct problems, you have held broken packages.

如果我尝试从暂存或开发分支安装,则会出现此错误:

Reading package lists... Done
Building dependency tree... Done
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-[devel/staging] : Depends: wine-[devel/staging] (= 8.2~jammy-1)
E: Unable to correct problems, you have held broken packages.

我还注意到,如果我尝试运行“sudo apt install --install-recommends wine-[any branch]”,我会收到此错误:

Reading package lists... Done
Building dependency tree... Done
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:
 libgphoto2-6:i386 : Depends: libgd3:i386 (>= 2.1.0~alpha~) but it is not installable
E: Unable to correct problems, you have held broken packages.

如果我尝试安装“libgd3:i386”,apt 最终会删除“libgd3”、“colord”,这会导致 gnome-control-center 也被删除。看来“libgd3”和“libgd3:i386”不能同时安装。

我还可以在 Ubuntu 22.04 上安装任意版本的 wine 吗?

相关内容