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


    在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... 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.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 installed
    E: Unable to correct problems, you have held broken packages.
    已经加了wine的ppa还是如此。


    解决方式

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

    sudo dpkg --add-architecture i386

    然后:

    sudo apt-get install ppa-purge
    sudo add-apt-repository ppa:ubuntu-wine/ppa && sudo apt-get update
    sudo apt-get install wine1.5
    就可以安装成功wine。

  • 相关阅读:
    酱茄WordPress社区论坛圈子小程序为解决用户活跃变现而生
    太顶了!爆肝3.5W字长文Java 集合!(建议收藏)
    美团二面:内存耗尽后Redis会发生什么?
    UE4_C++自定义log
    python3进制转换
    UE4蓝图Blueprint->组件->TreeView/ListView
    C++,win编程
    2020-11-11
    b站视频详情数据抓取,自动打包并发送到指定邮箱(单个或者群发)
    BiLiBiLi爬虫
  • 原文地址:https://www.cnblogs.com/yangykaifa/p/6784405.html
Copyright © 2020-2023  润新知