我正在尝试在 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”(或指定解决方案)。
这样做apt --fix-broken install
有效,但再次运行 libc6 或 libwine 后并没有修复它们。
我知道还有关于同一件事的其他答案和论坛帖子,我已经尝试使用他们的解决方案,但我没有得到任何新的东西。
有人可以帮我解决或解决这个问题吗?
感谢您的时间!
我在 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
答案1
您的设置介于 Debian 10 和即将推出的 Debian 11 之间,并且存储库中不再提供软件包版本。多个体系结构的软件包(在本例中amd64
为 和i386
)需要安装在完全相同的版本中,而这在系统的当前状态下不再可能。
假设您想要的状态是 Debian 10,您需要降级每个无法安装的软件包:
sudo apt install libc6/stable
ETC。
完成后,您就可以安装了wine32
。
答案2
遇到了同样的问题,并花了几个小时寻找解决方案。终于能够拿到了。首先,问题是您可能正在使用 Debian(就像我一样)并且您已经安装了一个正在滚动的版本,但没有更新所有库。
一种解决方案可以是降级所有库(我没有这样做,我也不知道如何做到这一点,但该解决方案已到处推荐。
我所做的其他解决方案:-
更改 Kali-Linux Rolling 的sources.list 文件。 (由于过去的一些问题,我已经将其更改为Kali-Linux Stable,但这也是无法安装的主要原因win32
)
现在,一旦你完成了运行sudo apt update && apt upgrade
。
之后,安装i386
架构,您可以通过运行来完成sudo dpkg --add-architecture i386
。然后win32
只需运行即可安装apt install win32
祝你好运,伙计。