在Xubuntu 15.10上未安装Wine 1.7


12

因此,昨天完成了我的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.

编辑你的问题,并增加输出apt-cache policy wine1.7 wine1.7-amd64 wine1.7-i386
AB

@AB使用输出编辑了主帖子。
2015年

开始sudo apt-get install wine1.7-amd64 wine1.7-i386
AB

@AB也已编辑到主要帖子中。
2015年

Answers:


6

目前所需的软件包不适用于Wily。检查此过滤页面。

等待几天,Wily软件包可能会可用。同时,安装生动的软件包:

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

谢谢您的帮助!我将在下周尝试再次安装它,我将对其进行答复。
2015年

通常会问,当我急需它们时,是否可以安装较旧的软件包?
apex39

2
小更新。是2015年11月10日,问题仍然存在。根据launchpad的数据,ppa中最新的wine1.7版本的发布时间为11周;wily比那年轻。
user1129682

请提供find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
apex39

wine-ubuntu ppa的软件包没有定期更新,因为其中一个开发人员忙于他的日常工作,而另一个开发人员的计算机却无法正常工作。
Zauber Paracelsus

10

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

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


1
这是解决方案,非常感谢!我刚刚通过此链接下载了libgphoto2-port10_2.5.3.1-1ubuntu2_i386.deb软件包,单击安装它,问题解决了。@elly可能考虑将这个答案标记为解决方案,我们已经等待了足够的时间(遵循AB的建议),DB的解决方案更加实用。
伊万

您还应该考虑葡萄酒分期套餐。我发现,这是迄今为止比wine1.7包/ PPA平时多了起来
DB

这对我也有效,分散了两个程序包
Ced 2015年


4

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

使用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条目

恕我直言,无论如何,它比纯葡萄酒更方便。


Op想要wine1.7 PlayOnLinux只是一个葡萄酒包装,仍然使用wine 1.6
tomodachi

1
在PlayOnLinux中,您可以将选择的Wine版本用于特定的“虚拟驱动器”。即使apt-get install wine1.7如上所述失败,它也可以在15.10上安装1.7 。
维克多

2

从Ubuntu 15.10(Wily Werewolf)和Debian 8开始,您可以安装该软件包,wine-development,而无需任何其他安装了最新开发版本的ppa。

一旦安装,以下可执行文件将可用: wine-development, winecfg-development,etc; 而不是传统wine, winecfg,

更新资料

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

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

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


0

如果您不需要最新版的Wine,可以随时执行以下操作:

sudo apt-get install wine winetricks

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

0

如果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其他软件包,那么您可能已在软件源中禁用了“ 推荐更新 ”配置(例如,我仅选中了“ 重要安全更新 ”,而未选中其他所有内容)。

重新启用“ 推荐的更新 ”后,我就成功安装了wine。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.