在尝试安装WINE (sudo apt-get install wine)时,我会得到以下错误:
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.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.谷歌确实告诉我,这显然与ia32-libs有关,但我无法找到修复依赖关系的方法,或者是否需要(手动?)安装其他的东西。
我将ppa:ubuntu-wine/ppa添加到我的存储库中。
sudo apt-get install wine1.5给了我
The following packages have unmet dependencies:
wine1.5 : Depends: wine1.5-i386 (= 1.5.4-0ubuntu1~ppa1~precise1+pulse17)sudo apt-get install wine1.5-i386给了我
The following packages have unmet dependencies:
wine1.5-i386:i386 : Depends: libgphoto2-2:i386 (>= 2.4.10.1) but it is not going to be installed
Depends: libgphoto2-port0:i386 (>= 2.4.10.1) but it is not going to be installed
Recommends: gettext:i386 but it is not going to be installed
Recommends: libsane:i386 but it is not going to be installed任何帮助都将不胜感激。谢谢。
发布于 2012-09-19 06:05:34
我也遇到了一个类似的问题,当我试图安装葡萄酒和大段读取时,依赖中断了;当我试图安装ia32-libs-multiarch时,我遇到了一个抱怨,在从11.04升级到12.04 (传递11.10)之后,我遇到了一个类似的问题。似乎有些ppa在11.04系统中安装了更新版本的应用程序。升级后,这些应用程序的残留似乎在依赖关系中造成了一些混乱。
目前看来可行的解决方案是在德国的ubuntu板上找到的(http://forum.ubuntuusers.de,用户Lasall的帖子):
首先,需要降级并通过以下操作完成:创建“preferences”文件:
sudo vi /etc/apt/preferences并插入以下几行:
Package: *
Pin: release a=precise*
Pin-Priority: 2012输入:wq以写入文件。引脚优先级必须大于1000.
然后,您可以通过以下方式降低违规应用程序的级别:
sudo apt-get dist-upgrade然后,您可以安装抱怨依赖关系的包,如sudo apt-get install ia32-libs-multiarch或sudo apt-get install ia32-libs。
最后,应该删除刚才创建的文件:
sudo rm /etc/apt/preferences因为否则将找不到新的更新。
希望这对你也有帮助!
发布于 2013-03-18 04:10:07
这就是在12.04.2 LTS中对我有用的地方
gksu gedit /etc/apt/preferences.d/base-filesPackage: *
Pin: release a=precise*
Pin-Priority: 2012sudo apt-get dist-upgrade现在我们可以安装
了
sudo apt-get install wine文件
sudo rm /etc/apt/preferences.d/base-files发布于 2012-05-17 17:45:36
试着使用Ubuntu软件中心安装葡萄酒,看看问题是否解决了。
您可以在www.winehq.org/ help /上找到一些有用的葡萄酒帮助资源,也可以在winehq.org上了解更多关于葡萄酒替代品的信息。
https://askubuntu.com/questions/138530
复制相似问题