首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Debian10 x64 |如何正确安装wine i386支持?

Debian10 x64 |如何正确安装wine i386支持?
EN

Stack Overflow用户
提问于 2019-10-06 21:21:56
回答 2查看 1.3K关注 0票数 1

有人能帮助解决这个问题吗?

小哥想在我的电脑上安装一些专有的东西,wine是必要的。

代码语言:javascript
复制
sudo apt install wine

没问题。

代码语言:javascript
复制
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

代码语言:javascript
复制
$ 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 --这里也有同样的问题。

EN

回答 2

Stack Overflow用户

发布于 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

我希望它能起作用。万事如意。

票数 0
EN

Stack Overflow用户

发布于 2020-07-25 13:06:45

在闲逛了几天之后,我终于找到了一个解决方案。问题是Ubuntu并没有提供安装"WINE“所需的一切。在这种情况下,它是32位依赖项。这就是为什么无论您做什么都会发生此错误的原因。

我在互联网上看到的所有解决方案都是基于你是否遗漏了一些步骤。但是,在从不同的来源做了成千上万次相同的事情之后,我明白还有一些其他的问题。

这就是我所做的:

首先,我使用以下命令从计算机上卸载了整个wine依赖项、源代码和库:

sudo apt-get --purge remove wine

这并不能完全删除wine,所以我访问了以下目录并删除了以下文件:

代码语言:javascript
复制
`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

然后,我运行此命令来更正任何损坏的文件

代码语言:javascript
复制
sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove

之后,我在谷歌上搜索:

代码语言:javascript
复制
how to enable 32 bit architecture in ubuntu 20

我来到这个网站:

代码语言:javascript
复制
https://support.humblebundle.com/hc/en-us/articles/202759400-Installing-32-bit-libs-on-a-64-bit-Linux-system

它说要在Ubuntu 12或更低版本中安装它,我们必须在终端中运行以下命令:

代码语言:javascript
复制
sudo apt-get install ia32-libs 

对于新版本:

代码语言:javascript
复制
sudo apt-get install lib32z1

我使用的是Ubuntu 20,所以我选择了第二种方法。在此之后,正如葡萄酒的官方网站中提到的那样,我继续并神奇地安装了葡萄酒。

如果你想知道,这是官方网站:

代码语言:javascript
复制
https://wiki.winehq.org/Ubuntu

希望这个解决方案能帮助你解决这些问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58257649

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档