Apt

由於依賴關係無法安裝wine32

  • May 7, 2022

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

我正在嘗試安裝 wine32 但它會引發依賴錯誤:

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:
libcurl4:i386 : Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
libvkd3d1:i386 : Depends: libvulkan1:i386 (>= 1.1.70) but it is not going to be installed
libwine:i386 : Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
               Recommends: libgl1:i386 but it is not installable
               Recommends: libglu1-mesa:i386 but it is not installable or
                           libglu1:i386
               Recommends: libsane1:i386 (>= 1.0.27) but it is not installable
               Recommends: libvulkan1:i386 (>= 1.2.131.2) but it is not going to be installed
               Recommends: libgl1-mesa-dri:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

我看了一些其他人的錯誤,似乎我的依賴與其他人不同

我試過了:

  • apt -f 安裝
  • apt –fix-broken 安裝
  • apt 安裝 && apt 更新
  • aptitude -f install wine32 (aptitude 命令不存在)
  • dpkg –add-architecture i386

如果可以,請你幫助我。任何幫助表示讚賞。

您已經從 backports 安裝了amd64至少一些依賴項的版本,因此您還需要wine32從 backports 安裝:

sudo apt install -t parrot-backports wine32

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