尝试安装 wine 时出现依赖项错误

尝试安装 wine 时出现依赖项错误

当我做

 sudo apt-get install wine

我得到了所有这些错误

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:
 wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

当我尝试安装时,sudo apt-get install wine1.6我得到:

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:
 wine1.6 : Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu10)
E: Unable to correct problems, you have held broken packages.

我一直尝试安装他们给我的每个软件包,但它使我陷入了无限循环,我尝试这样做:sudo dpkg --add-architecture i386

但同样的问题,有什么建议吗?

答案1

1)打开突触包管理器并修复损坏的包2)打开终端并输入:

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install -y wine1.7

您可以安装 wine 1.8

sudo apt-get -y install wine1.8

或者 wine 1.9

sudo apt-get -y install wine1.9

相关内容