我正在尝试从 WineHQ PPA 在 Ubuntu 18.04 Bionic Beaver 下安装最新开发版本的 Wine (wine-devel),但以下错误消息阻止了我:
andrew@corinth:~$ sudo apt install --install-recommends winehq-devel
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-devel : Depends: wine-devel (= 5.0.0~bionic)
E: Unable to correct problems, you have held broken packages.
andrew@corinth:~$
如何在 Ubuntu 18.04 下成功完成 Wine Development 版的安装?我宁愿只使用 Wine PPA,而不是像其他 Ask Ubuntu 答案中所建议的那样添加其他 PPA,例如 OpenSuse Build Service...
出现此错误是因为 WineHQ wine-devel 现在需要安装 FAudio 包才能成功安装。幸运的是,这可以在 Ubuntu 18.04 下通过以下 3 个相对简单的步骤轻松解决:
1. 添加葡萄酒 PPA
您需要将 32 位架构添加到 64 位系统,并添加 Wine PPA 和密钥:
2.添加FAAudio
对于 Ubuntu 18.04(较新版本的 Ubuntu 需要不同的方法),接下来应该使用以下步骤:
这可能比添加另一个 PPA(OpenSuse 构建服务 PPA)要容易一些......
3.安装Wine-devel
现在终于安装最新的 Wine开发版本:
最后测试您的安装,如在我自己的系统上所见:
现在你可以走了:)
参考: