在64位上安装Wine

我试图通过软件中心和终端安装葡萄酒,我得到了这个错误。

chris@ubuntu:~$ sudo apt-get install wine1.5 [sudo] password for chris: 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.5 : Depends: wine1.5-i386 (= 1.5.16-0ubuntu1) but it is not installable Recommends: gnome-exe-thumbnailer but it is not going to be installed or kde-runtime but it is not going to be installed Recommends: ttf-droid Recommends: ttf-mscorefonts-installer but it is not going to be installed Recommends: ttf-umefont but it is not going to be installed Recommends: ttf-unfonts-core but it is not going to be installed Recommends: winbind but it is not going to be installed Recommends: winetricks but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

我有Ubuntu 12.10 64位,除了安装PPA之外没有必要做任何其他事情。 但首先我们需要修复破损的包:

首先我们做sudo apt-get install -f来修复Broken包

然后,万一我们做sudo apt-get autoremove做一些清洁。

要测试是否所有内容sudo apt-get update修复,请执行sudo apt-get update 。 如果它完成没有问题那么我们就完成了修复包。 我们现在正确地安装葡萄酒:

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

这将下载Wine的32位和64位软件包,如以下输出所示:

 cyrex@cyrex:~$ sudo aptitude show wine1.5 -v | grep -e Depends Depends: debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.14), libgettextpo0, wine1.5-i386 (= 1.5.17-0ubuntu4) 

最后它显示了wine1.5-i386 ,我已经测试了在Ubuntu 12.10 64位中工作的Ms-DOS游戏和Windows XP游戏(16位和32位)。

在探索了互联网和论坛页面后,我发现以下内容对我有用: –

通过终端一次提供以下代码

sudo dpkg --add-architecture i386

sudo apt-get update

sudo apt-get install wine

下载量大约为500 MB,但它已经运行了!

我正在运行Linux Mint 14 Mate 64位。