我在12.04×64上遇到葡萄酒和multiarch的依赖问题。 我需要一个解决方案

编辑3 :见底部,TL; DR-ish版本。

我想从ppa:ubuntu-wine / ppa存储库安装wine1.5。 公平得对吗?

(我正在运行12.04 x64和一个自定义内核。)

我添加了他们的存储库 工作良好。

我很容易得到更新。 好吧。 (我在我的存储库中注释掉了.insource.list基本上是默认的减去额外的,伙伴和deb-src条目)

root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install wine1.5 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. --SNIP-- The following packages have unmet dependencies: wine1.5 : Depends: wine1.5-i386 (= 1.5.20-0ubuntu1) E: Unable to correct problems, you have held broken packages. 

好吧…

 root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install wine1.5-i386 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. --SNIP-- The following packages have unmet dependencies: wine1.5-i386:i386 : Depends: libgl1-mesa-glx:i386 but it is not going to be installed or libgl1:i386 Depends: libglu1-mesa:i386 but it is not going to be installed or libglu1:i386 E: Unable to correct problems, you have held broken packages. 

我稍微遵循该错误消息。

 root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install libgl1:i386 Reading package lists... Done Building dependency tree Reading state information... Done Package libgl1:i386 is a virtual package provided by: libgl1-mesa-swx11:i386 8.0.4-0ubuntu0.2 libgl1-mesa-glx:i386 8.0.4-0ubuntu0.2 You should explicitly select one to install. E: Package 'libgl1:i386' has no installation candidate 

继续……

 root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install libgl1-mesa-glx:i386 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. --SNIP-- The following packages have unmet dependencies: libgl1-mesa-glx:i386 : Depends: libdrm2:i386 (>= 2.3.1) but it is not going to be installed Recommends: libgl1-mesa-dri:i386 (>= 7.2) but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

这有点老……

 root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install libdrm2:i386 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. --SNIP-- The following packages have unmet dependencies: openssh-client : Depends: adduser (>= 3.10) but it is not going to be installed Depends: passwd openssh-server : Depends: upstart-job Depends: adduser (>= 3.9) but it is not going to be installed Depends: procps E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install openssh-client openssh-server Reading package lists... Done Building dependency tree Reading state information... Done openssh-client is already the newest version. openssh-server is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

我有一个本地存储库,我在/ var / cache / apt / archives文件夹中复制存档并使用它们生成索引。 我用这个来更新这台机器和家里的其他三台机器,而不是多次下载软件包。 此存档未签名,并导致“您要安装这些未签名的软件包吗?”

此外,synaptic的“已安装(手动)”列表中列出了相当多的软件包。 这可能与这个问题有关吗?

编辑 :我也尝试了一些相当常见的“修复apt-get”技术:

 root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

编辑2 :/ var / log / dist-upgrade /为空。 / var / log / apt /包含没有相关信息。 另外,dpkg –get-selections | grep hold不会返回任何内容。

编辑3 :重新安装两次后,看起来kernel-package与wine冲突。 全新安装:

 root@e330:~# apt-get install wine kernel-package --Standard apt-get loading stuff-- Some packages could not be installed blah blah The following have unmet dependencies: kernel-package : depends: po-debconf but it is not going to be installed "" : gettext """""" 

令我烦恼的是我在桌面上安装了这两个,一切正常。

使用此网站创建新的源列表。 选择您的版本并根据您的要求选择源。在额外的存储库列表中查找Wine。 单击Generate list,您将获得生成的源列表。

现在使用在终端上执行以下命令编辑源列表

 sudo nano /etc/apt/sources.list 

删除所有行和复制生成的列表,按Ctrl + X保存文件,选择 。 使用更新您的包列表

 sudo apt-get update 

现在尝试安装Wine

 sudo apt-get install wine 

在我的系统上一小时前修复了同样的问题。

您是否在64位系统上安装了ia32-libs或ia32-libs-multiarch?
在安装了ia32-libs后,我最近在我的E330上遇到了依赖关系问题和一个破坏的触控板。

经过几天的闲逛和一些干净的安装我发现,我必须安装ia32-libs作为所有的第一个包,干净安装后。

以前我安装了大约30个软件包,而ia32-libs是最后一个软件包 – 这导致非常非常厌烦的依赖项问题,甚至打破了触摸板驱动程序。 但仅限于联想e330 ……

希望这有助于某人