![wine-staging-i386 安装输出依赖错误](https://linux22.com/image/205666/wine-staging-i386%20%E5%AE%89%E8%A3%85%E8%BE%93%E5%87%BA%E4%BE%9D%E8%B5%96%E9%94%99%E8%AF%AF.png)
操作系统: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(安装成功)
任何帮助将不胜感激 :)
答案1
您正在尝试安装为与您的发行版不匹配的发行版构建的 Wine Staging 版本。由于 Parrot Security 基于 Debian stable(目前为 Debian 11),因此您需要遵循Wine 的 Debian 11 说明:
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
.