葡萄酒没有安装,无论什么

好吧,伙计们,这是交易。 我使用的是ubuntu 14.04 xfce版本,在带有烤面包片的Acer C270 Chromebook上运行。 这是一个干净的Ubuntu安装,没有从以前的版本升级,也没有任何其他版本的葡萄酒。

我正在尝试安装Wine。 这些是我使用的命令以及我已经尝试过的所有解决方案总是完全相同的结果。

(trusty)pineapplez13@localhost:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa 

为了成功添加葡萄酒ppa

 (trusty)pineapplez13@localhost:~$ sudo apt-get update 

也成功了

  (trusty)pineapplez13@localhost:~$ sudo apt-get install wine 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: wine : Depends: wine1.6 but it is not going to be installed or wine1.7 but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

这就是问题所在。 这似乎相当普遍,所以我谷歌找到了几个解决方案。 仅安装Wine1.7:

 (trusty)pineapplez13@localhost:~$ 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.26-0ubuntu1~ppa1) but it is not going to be installed Depends: wine1.7-i386 (= 1:1.7.26-0ubuntu1~ppa1) Recommends: cups-bsd E: Unable to correct problems, you have held broken packages. 

看来我没有i386架构吗? 那么我这样做:

 (trusty)pineapplez13@localhost:~$ sudo dpkg --add-architecture i386 (trusty)pineapplez13@localhost:~$ 

这就是输出,所以看起来是成功的。 所以我做apt-get update。 但是,再次安装wine1.7会返回相同的结果。

 (trusty)pineapplez13@localhost:~$ 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.26-0ubuntu1~ppa1) but it is not going to be installed Depends: wine1.7-i386 (= 1:1.7.26-0ubuntu1~ppa1) Recommends: cups-bsd E: Unable to correct problems, you have held broken packages. 

所以我尝试安装cups-bsd并向我发送依赖性goose追逐

 (trusty)pineapplez13@localhost:~$ sudo apt-get install cups-bsd 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: cups-bsd : Depends: cups-client (= 1.7.2-0ubuntu1) E: Unable to correct problems, you have held broken packages. (trusty)pineapplez13@localhost:~$ sudo apt-get install cups-client Reading package lists... Done Building dependency tree Reading state information... Done cups-client is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. (trusty)pineapplez13@localhost:~$ 

我也尝试过同时安装wine1.7和wine-i386

 (trusty)pineapplez13@localhost:~$ sudo apt-get install wine1.7 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 : Depends: wine1.7-amd64 (= 1:1.7.26-0ubuntu1~ppa1) but it is not going to be installed Recommends: cups-bsd wine1.7-i386:i386 : Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed Depends: libglu1-mesa:i386 but it is not going to be installed or libglu1:i386 Depends: libgphoto2-6:i386 (>= 2.5.2) but it is not going to be installed Depends: libgphoto2-port10:i386 (>= 2.5.2) but it is not going to be installed Depends: libgstreamer-plugins-base0.10-0:i386 (>= 0.10.22) but it is not going to be installed Depends: libgstreamer0.10-0:i386 (>= 0.10.26) but it is not going to be installed Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed Depends: libpulse0:i386 (>= 1:0.99.1) but it is not going to be installed Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed Recommends: libasound2-plugins:i386 but it is not going to be installed Recommends: libcups2:i386 but it is not going to be installed Recommends: libdbus-1-3:i386 but it is not going to be installed Recommends: libfontconfig1:i386 but it is not going to be installed or libfontconfig:i386 Recommends: libfreetype6:i386 but it is not going to be installed Recommends: libgnutls26:i386 but it is not going to be installed Recommends: libosmesa6:i386 but it is not going to be installed Recommends: libsane:i386 but it is not going to be installed Recommends: libtiff5:i386 but it is not going to be installed or libtiff4:i386 but it is not installable Recommends: libxslt1.1:i386 but it is not going to be installed Recommends: libxt6:i386 but it is not going to be installed Recommends: p11-kit-modules:i386 but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

在这里它指向一堆我显然没有的库,也指向dpkg multiarching的错误,所以我也尝试了这个修复:

 (trusty)pineapplez13@localhost:~$ gksu gedit /etc/dpkg/dpkg.cfg.d/multiarch 

创建一个打印有foreign-architecture i386的文本文件,以便我安装wine1.7-i386。 成功更新apt-get后,我尝试安装wine1.7-i386,我得到:

 (trusty)pineapplez13@localhost:~$ sudo apt-get install 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-i386:i386 : Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed Depends: libglu1-mesa:i386 but it is not going to be installed or libglu1:i386 Depends: libgphoto2-6:i386 (>= 2.5.2) but it is not going to be installed Depends: libgphoto2-port10:i386 (>= 2.5.2) but it is not going to be installed Depends: libgstreamer-plugins-base0.10-0:i386 (>= 0.10.22) but it is not going to be installed Depends: libgstreamer0.10-0:i386 (>= 0.10.26) but it is not going to be installed Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed Depends: libpulse0:i386 (>= 1:0.99.1) but it is not going to be installed Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed Recommends: libasound2-plugins:i386 but it is not going to be installed Recommends: libcups2:i386 but it is not going to be installed Recommends: libdbus-1-3:i386 but it is not going to be installed Recommends: libfontconfig1:i386 but it is not going to be installed or libfontconfig:i386 Recommends: libfreetype6:i386 but it is not going to be installed Recommends: libgnutls26:i386 but it is not going to be installed Recommends: libosmesa6:i386 but it is not going to be installed Recommends: libsane:i386 but it is not going to be installed Recommends: libtiff5:i386 but it is not going to be installed or libtiff4:i386 but it is not installable Recommends: libxslt1.1:i386 but it is not going to be installed Recommends: libxt6:i386 but it is not going to be installed Recommends: p11-kit-modules:i386 but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

再来一次。 编辑:我已经确认我确实支持i386架构,因为

 sudo dpkg --print-foreign-architectures 

返回i386所以看起来不是问题,非常奇怪。

即使在apt-get中使用-f命令也不会改变任何东西

 (trusty)pineapplez13@localhost:~$ sudo apt-get install -f 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.26-0ubuntu1~ppa1) but it is not going to be installed Depends: wine1.7-i386 (= 1:1.7.26-0ubuntu1~ppa1) Recommends: cups-bsd E: Unable to correct problems, you have held broken packages. 

此外,使用apt-get clean,apt-get autoclean和apt-get -f install都会返回以任何方式修改的0个包。 通过软件中心下载返回相同的结果。 我尝试了上传的每个修复程序作为解决此问题的方法,但无济于事。 这真的没有任何意义,我无法找出问题所在。

编辑:我现在已经放弃了安装wine,所以我只想尝试在32位的linux容器中构建它。 如果我能使用它,我会在这里发布我使用的步骤。

首先,清除您的系统:

 apt-get update apt-get -f install 

然后删除葡萄酒:

 apt-get remove wine wine1.6 

然后只安装一个软件包,具体取决于您的系统:amd64或i386

 sudo apt-get install wine1.7 

让我看看你出错的输出。