Apt

wine-staging-i386 install 輸出依賴錯誤

  • May 9, 2022

作業系統:Parrot Sec(基於 Debian)

我無法安裝 winehq-staging 包,因為安裝 wine-staging-i386 不斷向我拋出依賴錯誤。這是它的外觀:

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:
wine-staging-i386:i386 : Depends: libc6:i386 (>= 2.35) but 2.31-13+deb11u3 is to be installed
                         Depends: libldap-2.5-0:i386 (>= 2.5.4) but it is not installable
                         Recommends: libgtk-3-0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我試過了:

  • apt install -t parrot-backports
  • 安裝提到的包,如 libgtk-3-0:i386(安裝失敗)
  • 安裝 libasound2-plugins:i386 (安裝成功)

任何幫助將不勝感激 :)

您正在嘗試安裝為與您的不匹配的發行版建構的 Wine Staging 版本。由於 Parrot Security 基於 Debian stable(目前為 Debian 11),您需要遵循Debian 11 的 Wine 說明

wget -nc https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
sudo mv winehq-bullseye.sources /etc/apt/sources.list.d/

如果您配置了任何其他 WineHQ 儲存庫,您應該從/etc/apt/sources.list.d.

引用自:https://unix.stackexchange.com/questions/701857