Debian
無法在 Debian 上安裝 wine32
我正在嘗試在 Wine 中執行 Windows 應用程序,但它告訴我:
it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32"
所以作為root,我嘗試安裝wine32,但我得到了這個:
$ sudo apt install wine32 Reading package lists... Done Building dependency tree Reading state information... Done wine32:i386 is already the newest version (4.0-2). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: wine32:i386 : Depends: libc6:i386 (>= 2.28) but it is not going to be installed Depends: libwine:i386 (= 4.0-2) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
嘗試安裝
libc6:i386
並libwine:i386
給我錯誤:$ sudo apt install libc6:i386 Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libc6 : Breaks: libc6:i386 (!= 2.29-7) but 2.28-10 is to be installed libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed Recommends: libidn2-0:i386 (>= 2.0.5~) but it is not going to be installed Breaks: libc6 (!= 2.28-10) but 2.29-7 is to be installed libcrypt1 : Breaks: libc6:i386 (< 2.29-4) but 2.28-10 is to be installed wine32:i386 : Depends: libwine:i386 (= 4.0-2) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
和:
$ sudo apt install libwine:i386 [sudo] password for optiplex: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libwine:i386 : Depends: libc6:i386 (>= 2.28) but it is not going to be installed Depends: libfontconfig1:i386 (>= 2.12.6) but it is not going to be installed Depends: libfreetype6:i386 (>= 2.6.2) but it is not going to be installed Depends: libncurses6:i386 (>= 6) but it is not going to be installed Depends: libtinfo6:i386 (>= 6) but it is not going to be installed Depends: libasound2:i386 (>= 1.0.16) but it is not going to be installed Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed Depends: libgphoto2-port12:i386 (>= 2.5.10) but it is not going to be installed Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.0.0) but it is not going to be installed Depends: libgstreamer1.0-0:i386 (>= 1.4.0) but it is not going to be installed Depends: liblcms2-2:i386 (>= 2.2+git20110628) but it is not going to be installed Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed Depends: libmpg123-0:i386 (>= 1.13.7) but it is not going to be installed Depends: libopenal1:i386 (>= 1.14) but it is not going to be installed Depends: libpcap0.8:i386 (>= 0.9.8) but it is not going to be installed Depends: libpulse0:i386 (>= 0.99.1) but it is not going to be installed Depends: libudev1:i386 (>= 183) but it is not going to be installed Depends: libvkd3d1:i386 (>= 1.0) but it is not going to be installed Depends: libx11-6:i386 but it is not going to be installed Depends: libxext6:i386 but it is not going to be installed Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed Depends: ocl-icd-libopencl1:i386 but it is not going to be installed or libopencl1:i386 Depends: zlib1g:i386 (>= 1:1.1.4) but it is not going to be installed Recommends: libcapi20-3:i386 but it is not going to be installed Recommends: libcups2:i386 (>= 1.4.0) but it is not going to be installed Recommends: libdbus-1-3:i386 (>= 1.9.14) but it is not going to be installed Recommends: libgl1:i386 but it is not going to be installed Recommends: libglu1-mesa:i386 but it is not going to be installed or libglu1:i386 Recommends: libgnutls30:i386 (>= 3.6.5) but it is not going to be installed Recommends: libgsm1:i386 (>= 1.0.18) but it is not going to be installed Recommends: libgssapi-krb5-2:i386 (>= 1.6.dfsg.2) but it is not going to be installed Recommends: libjpeg62-turbo:i386 (>= 1.3.1) but it is not going to be installed Recommends: libkrb5-3:i386 (>= 1.6.dfsg.2) but it is not going to be installed Recommends: libodbc1:i386 (>= 2.3.1) but it is not going to be installed Recommends: libosmesa6:i386 (>= 10.2~) but it is not going to be installed Recommends: libpng16-16:i386 (>= 1.6.2-1) but it is not going to be installed Recommends: libsdl2-2.0-0:i386 (>= 2.0.9) but it is not going to be installed Recommends: libtiff5:i386 (>= 4.0.3) but it is not going to be installed Recommends: libv4l-0:i386 (>= 0.5.0) but it is not going to be installed Recommends: libvulkan1:i386 but it is not going to be installed Recommends: libxcomposite1:i386 (>= 1:0.3-1) but it is not going to be installed Recommends: libxcursor1:i386 (> 1.1.2) but it is not going to be installed Recommends: libxfixes3:i386 but it is not going to be installed Recommends: libxi6:i386 but it is not going to be installed Recommends: libxinerama1:i386 but it is not going to be installed Recommends: libxrandr2:i386 but it is not going to be installed Recommends: libxrender1:i386 but it is not going to be installed Recommends: libxslt1.1:i386 (>= 1.1.25) but it is not going to be installed Recommends: libxxf86vm1:i386 but it is not going to be installed Recommends: libgl1-mesa-dri:i386 but it is not going to be installed Recommends: libasound2-plugins:i386 but it is not going to be installed wine32:i386 : Depends: libc6:i386 (>= 2.28) but it is not going to be installed
E:未滿足的依賴關係。嘗試不帶軟體包的“apt –fix-broken install”(或指定解決方案)。
執行正常,但在再次執行 libc6 或libwine
apt --fix-broken install
後無法修復它們。我知道在同一件事上還有其他答案和論壇文章,我嘗試過使用他們的解決方案,但我沒有得到任何新東西。
有人可以幫我解決或解決這個問題嗎?
感謝您的時間!
我在 Optiplex 755 上執行 Debian 10
編輯
輸出
apt policy libc6:{amd64,i386}
:(如斯蒂芬基特所問)$ apt policy libc6:{amd64,i386} libc6: Installed: 2.29-7 Candidate: 2.29-7 Version table: *** 2.29-7 100 100 /var/lib/dpkg/status 2.28-10 500 500 http://ftp.au.debian.org/debian buster/main amd64 Packages libc6:i386: Installed: (none) Candidate: 2.28-10 Version table: 2.28-10 500 500 http://ftp.au.debian.org/debian buster/main i386 Packages
您的設置介於 Debian 10 和即將推出的 Debian 11 之間,其軟體包版本不再可從儲存庫中獲得。需要以完全相同的版本安裝多個架構的軟體包(在這種情況下為
amd64
和i386
),而這在您的系統目前狀態下不再可能。假設您想要的狀態是 Debian 10,您需要降級每個無法安裝的軟體包:
sudo apt install libc6/stable
等等
完成後,您將能夠安裝
wine32
.