由于依赖项损坏,无法在 Ubuntu 15.10 上安装 wine1.7

由于依赖项损坏,无法在 Ubuntu 15.10 上安装 wine1.7

存在损坏的依赖关系:

balthild@Balthild-Linux:~$ sudo apt-get install wine1.7 winetricks
[sudo] password for balthild: 
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) 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-mscorefonts-installer but it is not going to be installed
           Recommends: fonts-horai-umefont but it is not going to be installed
           Recommends: fonts-unfonts-core but it is not going to be installed
           Recommends: ttf-wqy-microhei
E: Unable to correct problems, you have held broken packages.

然后我找到了原因:

balthild@Balthild-Linux:~$ sudo apt-get install wine1.7-amd64
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
                 Depends: wine1.7:any (= 1:1.7.44-0ubuntu1)
                 Recommends: libcapi20-3 but it is not going to be installed
                 Recommends: libgnutls26 but it is not installable
                 Recommends: libosmesa6 but it is not going to be installed
                 Recommends: unixodbc but it is not going to be installed
                 Recommends: wine-gecko2.34 but it is not installable
                 Recommends: wine-mono4.5.4 but it is not installable
E: Unable to correct problems, you have held broken packages.

libgphoto2-port1015.10 wily 中不再提供该包,而是提供libgphoto2-port12

balthild@Balthild-Linux:~$ sudo apt-get install libgphoto2-port12
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgphoto2-port12 is already the newest version.

这样一来,我就无法在系统上安装 wine1.7。有什么解决办法吗?

答案1

你先安装 Wine 1.6,然后在 Linux 上安装 wine 1.7

打开终端并输入:

sudo apt-get install wine1.6

在 Linux 上安装 play

在 Linux 上下载最新版本的 play。

wget https://www.playonlinux.com/script_files/PlayOnLinux/4.2.9/PlayOnLinux_4.2.9.deb

然后安装它。

sudo dpkg -i PlayOnLinux_4.2.9.deb

在 Linux 上开放游戏

playonlinux 

单击然后配置然后单击New创建一个新的虚拟驱动器

在此处输入图片描述

完成后,单击刚刚创建的虚拟驱动器: 在此处输入图片描述

选择您想要安装的 wine 版本,然后单击>安装 wine 版本。

在此处输入图片描述

当安装 wine 版本时它应该显示如下。

在此处输入图片描述

要使用 wine 1.7 运行应用程序,请单击配置,然后单击虚拟驱动器 在此处输入图片描述 将 wine 版本从system更改为1.7

相关内容