linux - 如何修复 winehq-stable : Depends: wine-stable (= 6. 0.2~hirsute-1)?

标签 linux ubuntu

我正在运行 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 info
wine 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/

相关文章:

c++ - 套接字发送数据但 recv 程序不能正常工作

linux - 在编写我的第一个 bash 脚本时遇到问题

linux - beaglebone black gpio 选择不工作

linux - 无法使用nutch解析flv和epub文件内容

bash - 脚本始终从/而不是当前目录运行

linux - 如何替换 csv 所有列中的特定值?

android - "react-native log-android"错误 "adb' logcat -c "failed. adb' logcat -c 运行正常。 [Ubuntu]

linux - 如何强制所有请求都来 self 的网站以避免使用 Apache 进行欺骗

Java 'System.err.format' 和 '%n' 后跟 'System.out.println' , println 在中间打印

ubuntu - 如何在ubuntu(或其他)上阻止/取消阻止复制/粘贴?