我正在尝试在 Ubuntu 22.04 上安装 wine,并按照此处的文档进行操作:https://wiki.winehq.org/Ubuntu
但当到达这一步时:
sudo apt install --install-recommends winehq-staging
我收到一个错误:
The following packages have unmet dependencies:
winehq-staging : Depends: wine-staging (= 9.0~rc3~jammy-1)
E: Unable to correct problems, you have held broken packages.
我还尝试wine
了winehq
:
sudo apt install --install-recommends wine-staging
但它也不起作用并输出此错误:
The following packages have unmet dependencies:
wine-staging-i386:i386 : Depends: libasound2:i386 (>= 1.0.16) but it is not installable
Depends: libglib2.0-0:i386 (>= 2.37.3) but it is not installable
Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not installable
Depends: libgphoto2-port12:i386 (>= 2.5.10) but it is not installable
Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.0.0) but it is not installable
Depends: libgstreamer1.0-0:i386 (>= 1.4.0) but it is not installable
Depends: libpcap0.8:i386 (>= 1.10.0) but it is not installable
Depends: libpcsclite1:i386 (>= 1.3.3) but it is not installable
Depends: libpulse0:i386 (>= 0.99.1) but it is not installable
Depends: libsane1:i386 (>= 1.0.27) but it is not installable
Depends: libudev1:i386 (>= 183) but it is not installable
Depends: libusb-1.0-0:i386 (>= 2:1.0.21) but it is not installable
Depends: libwayland-client0:i386 (>= 1.20.0) but it is not installable
Depends: libx11-6:i386 but it is not installable
Depends: libxext6:i386 but it is not installable
Depends: libxkbcommon0:i386 (>= 0.5.0) but it is not installable
Depends: libxkbregistry0:i386 (>= 1.0.0) but it is not installable
Depends: ocl-icd-libopencl1:i386 but it is not installable or
libopencl1:i386 but it is not installable
Depends: ocl-icd-libopencl1:i386 (>= 1.0) but it is not installable or
libopencl-1.2-1:i386 but it is not installable
Depends: libasound2-plugins:i386 but it is not installable
Depends: libncurses6:i386 but it is not installable or
libncurses5:i386 but it is not installable or
libncurses:i386 but it is not installable
Recommends: libcairo2:i386 but it is not installable
Recommends: libcups2:i386 but it is not installable
Recommends: libdbus-1-3:i386 but it is not installable
Recommends: libfontconfig1:i386 but it is not installable
Recommends: libfreetype6:i386 but it is not installable
Recommends: libglu1-mesa:i386 but it is not installable or
libglu1:i386 but it is not installable
Recommends: libgnutls30:i386 but it is not installable or
libgnutls-deb0-28:i386 but it is not installable or
libgnutls26:i386 but it is not installable
Recommends: libgssapi-krb5-2:i386 but it is not installable
Recommends: libgtk-3-0:i386 but it is not installable
Recommends: libkrb5-3:i386 but it is not installable
Recommends: libodbc2:i386 but it is not installable or
libodbc1:i386 but it is not installable
Recommends: libosmesa6:i386 but it is not installable
Recommends: libsdl2-2.0-0:i386 but it is not installable
Recommends: libv4l-0:i386 but it is not installable
Recommends: libva-drm2:i386 but it is not installable or
libva-drm1:i386 but it is not installable
Recommends: libva-x11-2:i386 but it is not installable or
libva-x11-1:i386 but it is not installable
Recommends: libva2:i386 but it is not installable or
libva1:i386 but it is not installable
Recommends: libxcomposite1:i386 but it is not installable
Recommends: libxcursor1:i386 but it is not installable
Recommends: libxfixes3:i386 but it is not installable
Recommends: libxi6:i386 but it is not installable
Recommends: libxinerama1:i386 but it is not installable
Recommends: libxrandr2:i386 but it is not installable
Recommends: libxrender1:i386 but it is not installable
Recommends: libxxf86vm1:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
我也检查过这个问题,因为它很相似,但是那里的方法,先安装另一个包(sudo apt install wine-staging-amd64
)没有帮助。它也没有解决:https://stackoverflow.com/questions/73470691/winehq-stable-depends-wine-stable-7-0-0-0focal-1?rq=2
有人知道还能做什么吗?提前感谢大家的帮助