【问题标题】:how to fix winehq-stable : Depends: wine-stable (= 6.0.2~hirsute-1)?如何修复 winehq-stable :取决于:wine-stable (= 6.0.2~hirsute-1)?
【发布时间】:2022-06-27 07:37:47
【问题描述】:

我正在运行 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.

【问题讨论】:

    标签: linux ubuntu


    【解决方案1】:

    您将基于 Ubuntu Focal 的 Feren Os 与 Ubuntu Hirsute 混合,导致 unmet dependencies 错误。

    要解决此问题,您需要从/etc/apt/sources.list/etc/apt/sources.list.d/ 目录下的文件中删除hirsute

    安装 winehq see the documentation 并使用 focal 代号。

    如果您对vkd3d 有疑问,可以从Cybermax PPA 安装它。

    【讨论】:

    • 谢谢,禁用 Hirsute 有效。
    【解决方案2】:

    Synaptic -> 删除所有 wine 存储库

    sudo dpkg --add-architecture i386
    
    sudo apt update
    

    删除以前的 WineHQ 存储库:

    sudo apt-add-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
    

    添加其他存储库:

    wget -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key -O Release.key -O- | sudo apt-key add -
    
    sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
    
    sudo apt-get update
    

    但是!

    wine-stable 的最后建议步骤:

    sudo apt install --install-recommends **winehq-devel**
    

    .. 在安装 wine 遇到问题后,这对我在 kali 上有用

    【讨论】:

      猜你喜欢
      • 2015-04-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-04-20
      • 1970-01-01
      • 2011-05-09
      • 1970-01-01
      • 2021-05-08
      相关资源
      最近更新 更多