Wine 1.7不能安装在Xubuntu 15.10上

因此,在昨天安装Xubuntu之后,我尝试使用ppa:ubuntu-wine / ppa安装Wine 1.7。 但是,在做了sudo apt-get install wine1.7 ,它一直给我这个错误:

 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.7 : Depends: wine1.7-amd64 (= 1:1.7.44-0ubuntu1) but it is not going to be installed Depends: wine1.7-i386 (= 1:1.7.44-0ubuntu1) E: Unable to correct problems, you have held broken packages. 

我尝试了几种我在网上找到的解决方案,例如自动移植,添加i386架构,清理我的软件包以及修复apt-get安装。 但是,在尝试了我能找到的所有解决方案后,wine1.7仍未安装。 我不确定这是我的计算机的错还是ppa的错,但是如果其他人可以分享他们的发现会很棒。

谢谢,Elly

根据要求,这里是apt-cache policy wine1.7 wine1.7-amd64 wine1.7-i386

 wine1.7: Installed: (none) Candidate: 1:1.7.44-0ubuntu1 Version table: 1:1.7.44-0ubuntu1 0 500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ wily/main amd64 Packages wine1.7-amd64: Installed: (none) Candidate: 1:1.7.44-0ubuntu1 Version table: 1:1.7.44-0ubuntu1 0 500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ wily/main amd64 Packages wine1.7-i386:i386: Installed: (none) Candidate: 1:1.7.44-0ubuntu1 Version table: 1:1.7.44-0ubuntu1 0 500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ wily/main i386 Packages 

sudo apt-get install wine1.7-amd64 wine1.7-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: wine1.7-amd64 : Depends: libgphoto2-port10 (>= 2.5.2) but it is not installable Recommends: libgnutls26 but it is not installable Recommends: wine-gecko2.34 but it is not installable Recommends: wine-mono4.5.4 but it is not installable wine1.7-i386:i386 : Depends: libgphoto2-port10:i386 (>= 2.5.2) but it is not installable Recommends: libgnutls26:i386 but it is not installable Recommends: libpcap0.8:i386 but it is not going to be installed Recommends: wine-gecko2.34:i386 but it is not installable Recommends: wine-mono4.5.4:i386 but it is not installable E: Unable to correct problems, you have held broken packages. 

Wily目前无法使用所需的软件包。 检查此过滤页面。

等几天,可能会有Wily包。 在此期间,安装Vivid套餐:

 wget http://mirrors.kernel.org/ubuntu/pool/main/libg/libgphoto2/libgphoto2-port10_2.5.4-1.1ubuntu1_i386.deb wget http://mirrors.kernel.org/ubuntu/pool/main/libg/libgphoto2/libgphoto2-port10_2.5.4-1.1ubuntu1_amd64.deb sudo dpkg -i libgphoto2-port10*.deb sudo apt-get install -f sudo apt-get install wine1.7 

它失败的依赖是libgphoto2-port10 ,它不是Wily。 您可以尝试从Trusty手动安装DEB文件:

http://packages.ubuntu.com/trusty/libgphoto2-port10

您仍然可以在(X)Unbuntu 15.10上使用PlayOnLinux 。

使用PlayOnLinux,您可以使用不同的Wine版本和不同的设置创建(并安全删除)“虚拟驱动器”(在/home/{user}/.PlayOnLinux/wineprefix/中)。

它在15.10存储库中:

 sudo apt-get install playonlinux 

在程序中:菜单 – >工具 – >管理葡萄酒版本

您可以安装所需的Wine版本(x86或x64),包括1.7(最新1.7.54),然后在“虚拟驱动器”中使用。

来自PlayOnLinux’虚拟驱动器’的程序可以像这样运行:

 /usr/share/playonlinux/playonlinux --run "Evernote.5.8.13" 

当然,您可以在/home/{user}/.local/share/applications/中添加.desktop条目。

Imho,无论如何它比纯葡萄酒更方便。

从Ubuntu 15.10(Wily Werewolf)和Debian 8开始,您可以安装wine-development,wine-development,而无需任何额外的ppa,它会安装最新的开发版本。

安装完成后,将提供以下可执行文件: wine-development, winecfg-development,等; 而不是传统的wine, winecfg,等。

更新

葡萄酒1.8和1.9已经发布; 并可用于Ubuntu 15.10 Wily Werewolf。 要安装它们,您可以添加由葡萄酒theam创建的新ppa:

 sudo add-apt-repository ppa:wine/wine-builds sudo apt-get update sudo apt-get install --install-recommends winehq-devel 

有关更多信息,您可以查看官方Wine Wiki上的Ubuntu部分 。

如果你不需要最新版本的Wine,你可以随时做:

 sudo apt-get install wine winetricks 

如果wine安装失败,并且依赖于破坏

 wine : Depends: wine1.6 but it is not going to be installed 

并尝试安装wine1.6 ,显示它依赖于libgphoto2-6:i386 ,然后看起来依赖于不可安装的libgphoto2-port10:i386 ,并尝试安装libgphoto2-port10:i386将删除AMD64版本使用libsane和其他一些软件包,您可能已经在软件源配置中禁用了“ 推荐更新 ”(例如,我只选中了“ 重要安全更新 ”,其他所有内容都未选中)。

一旦我重新启用“ 推荐更新 ”,我就成功安装了葡萄酒。