有人能帮助解决这个问题吗?
小哥想在我的电脑上安装一些专有的东西,wine是必要的。
sudo apt install wine没问题。
但
sudo apt install wine32
Reading package lists... Done
Building dependency tree
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:
wine32:i386 : Depends: libwine:i386 (= 4.0-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.为什么我无法安装32位版本的libwine library
$ sudo apt install libwine:i386
Reading package lists... Done
Building dependency tree
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:
libwine:i386 : Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
Recommends: libcups2:i386 (>= 1.4.0) but it is not going to be installed
Recommends: libgnutls30:i386 (>= 3.6.5) but it is not going to be installed
Recommends: libodbc1:i386 (>= 2.3.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.是什么导致了这个问题?我试过winehq官方debian repos --这里也有同样的问题。
发布于 2020-03-30 05:26:13
sudo apt install libfontconfig1:i386
或
sudo apt install libldap-2.4-2:i386
然后再试一次
sudo apt install libwine:i386
然后再试一次。
sudo apt install wine32
我希望它能起作用。万事如意。
发布于 2020-07-25 13:06:45
在闲逛了几天之后,我终于找到了一个解决方案。问题是Ubuntu并没有提供安装"WINE“所需的一切。在这种情况下,它是32位依赖项。这就是为什么无论您做什么都会发生此错误的原因。
我在互联网上看到的所有解决方案都是基于你是否遗漏了一些步骤。但是,在从不同的来源做了成千上万次相同的事情之后,我明白还有一些其他的问题。
这就是我所做的:
首先,我使用以下命令从计算机上卸载了整个wine依赖项、源代码和库:
sudo apt-get --purge remove wine
这并不能完全删除wine,所以我访问了以下目录并删除了以下文件:
`cd $HOME`
`rm -r .wine`
`rm .config/menus/applications-merged/wine*`
`rm -r .local/share/applications/wine`
`rm .local/share/desktop-directories/wine*`
`rm .local/share/icons/????_*.xpm`如果需要,可以再次运行此命令:
sudo apt-get --purge remove wine
然后,我运行此命令来更正任何损坏的文件
sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove之后,我在谷歌上搜索:
how to enable 32 bit architecture in ubuntu 20我来到这个网站:
https://support.humblebundle.com/hc/en-us/articles/202759400-Installing-32-bit-libs-on-a-64-bit-Linux-system它说要在Ubuntu 12或更低版本中安装它,我们必须在终端中运行以下命令:
sudo apt-get install ia32-libs 对于新版本:
sudo apt-get install lib32z1我使用的是Ubuntu 20,所以我选择了第二种方法。在此之后,正如葡萄酒的官方网站中提到的那样,我继续并神奇地安装了葡萄酒。
如果你想知道,这是官方网站:
https://wiki.winehq.org/Ubuntu希望这个解决方案能帮助你解决这些问题。
https://stackoverflow.com/questions/58257649
复制相似问题