Wine 1.7 无法安装在 Xubuntu 15.10 上

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 的问题,但如果其他人能分享他们的发现那就太好了。

谢谢,艾莉

根据要求,这是的输出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.

答案1

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

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

答案2

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

答案3

您仍然可以使用玩转Linux在(X)Ubuntu 15.10上。

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

它位于 15.10 存储库中:

sudo apt-get install playonlinux

在程序中:菜单 -> 工具 -> 管理 Wine 版本

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

您可以像这样运行 PlayOnLinux‘虚拟驱动器’中的程序:

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

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

在我看来,无论如何它都比纯 Wine 更方便。

答案4

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

sudo apt-get install wine winetricks

相关内容