解决ubuntukylin 13.10安装wine时无法解决软件包依赖问题

来源:互联网 发布:农村淘宝logo矢量图 编辑:程序博客网 时间:2024/05/16 12:32

在ubuntukylin 13.10中,不管是在软件中心安装wine还是通过apt-get install安装wine都会出现软件包依赖问题且无法解决。


问题重现

在软件中心安装wine报错如下:

wine1.4: PreDepends: dpkg (>= 1.15.7.2~) but 1.16.7ubuntu6 is to be installed         Depends: libc6 (>= 2.14) but 2.15-0ubuntu20 is to be installed         Depends: wine1.4-amd64 (= 1.4.1-0ubuntu1) but 1.4.1-0ubuntu1 is to be installed         Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) but it is not going to be installed
通过终端apt-get方式安装,又报错如下:

Reading package lists... DoneBuilding dependency tree       Reading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: wine1.4 : Depends: wine1.4-i386 (= 1.4.1-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-droid           Recommends: ttf-mscorefonts-installer but it is not going to be installed           Recommends: ttf-umefont but it is not going to be installed           Recommends: ttf-unfonts-core but it is not going to be installed           Recommends: winbind but it is not going to be installed           Recommends: winetricks but it is not going to be installedE: Unable to correct problems, you have held broken packages.
已经加了wine的ppa还是如此。


解决方案

首先(这一步有时非必需):

sudo dpkg --add-architecture i386

然后:

sudo apt-get install ppa-purgesudo add-apt-repository ppa:ubuntu-wine/ppa && sudo apt-get updatesudo apt-get install wine1.5
即可成功安装wine。

1 0
原创粉丝点击