我正在运行 Ubuntu 的一个分支 Feren Os,在安装 Winehq 时遇到了一个新问题
系统是最新的,所有软件包都升级了,除了一个 .
$ sudo apt list --upgradable
Listing... Done
vkd3d-compiler/hirsute 1.2~hirsute-1 i386 [upgradable from: 1.2~focal-1]
N: There is 1 additional version. Please use the '-a' switch to see it
system infowine Problem
$ 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.2~hirsute-1)
E: Unable to correct problems, you have held broken packages.
我努力了$ sudo dpkg --force depends -P wine-stable
dpkg: warning: ignoring request to remove wine-stable which isn't installed
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
最佳答案
您将基于 Ubuntu Focal 的 Feren Os 与 Ubuntu Hirsute 混合,导致 unmet dependencies
错误。
要解决此问题,您需要删除 hirsute
来自 /etc/apt/sources.list
以及 /etc/apt/sources.list.d/
下的文件目录
安装 winehq see the documentation并使用 focal
代码名称。
如果您对 vkd3d
有疑问,可以从 Cybermax 安装购电协议(protocol)..
关于linux - 如何修复 winehq-stable : Depends: wine-stable (= 6. 0.2~hirsute-1)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70136853/