我试图在葡萄酒中运行一个Windows应用程序,但它告诉我如下:
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
因此,作为根用户,我尝试安装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 -修复-破坏安装‘与没有软件包(或指定一个解决方案)。
执行apt --fix-broken install
可以工作,但在再次运行它们之后,不会修复libc6或lib红酒。
我知道在同一件事上还有其他答案和论坛帖子,我试过使用他们的解决方案,但我没有得到任何新的东西。
有人能帮我解决这个问题吗?
谢谢您抽时间见我!
我在Optiplex 755上运行Debian 10
apt policy libc6:{amd64,i386}
的输出:(如Stephen所问)
$ 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
发布于 2020-06-01 14:06:20
您的设置介于Debian 10和即将推出的Debian 11之间,包版本不再从存储库中获得。用于多个体系结构的包(在本例中是amd64
和i386
)需要安装在完全相同的版本中,在系统当前的状态下,这是不可能的。
假设您想要的状态是Debian 10,则需要降低无法安装的每个包的级别:
sudo apt install libc6/stable
等。
一旦完成,您就可以安装wine32
了。
发布于 2021-06-27 18:18:59
也有同样的问题,找了好几个小时的解决办法。终于能拿到了。首先,问题是您可能正在使用Debian (就像我一样),并且您已经安装了一个正在滚动的版本,但是没有更新所有的库。
一个解决方案可以是降低所有库的级别(我没有这样做,我也不知道如何做,但是这个解决方案到处推荐。)
其他解决方案,我做到了:-
更改您的sources.list文件的Kali-Linux滚动。(由于过去的一些问题,我将其改为Kali-Linux稳定,但这是无法安装win32
的一个主要原因)
现在,完成该操作后,运行sudo apt update && apt upgrade
。
安装i386
体系结构之后,您可以通过运行sudo dpkg --add-architecture i386
来完成它。然后简单地通过运行win32
安装apt install win32
祝你好运伙计。
https://unix.stackexchange.com/questions/590215
复制相似问题