红联Linux门户
Linux帮助

怎么删除wine【已解决】

发布时间:2010-08-31 13:22:18来源:红联作者:昊昊荡荡
[i=s] 本帖最后由 昊昊荡荡 于 2010-9-3 11:10 编辑 [/i]

yum install wine安装wine后,再执行rpm -e wine ,发现有很多wine开头的rpm包并没有被删除
[root@fedora13 /]# rpm -e wine
[root@fedora13 .wine]# rpm -qa |grep wine
wine-courier-fonts-1.2.0-2.fc13.noarch
wine-desktop-1.2.0-2.fc13.noarch
wine-wow-1.2.0-2.fc13.i686
wine-ldap-1.2.0-2.fc13.i686
wine-fonts-1.2.0-2.fc13.noarch
wine-twain-1.2.0-2.fc13.i686
wine-cms-1.2.0-2.fc13.i686
wine-small-fonts-1.2.0-2.fc13.noarch
wine-core-1.2.0-2.fc13.i686
wine-capi-1.2.0-2.fc13.i686
wine-marlett-fonts-1.2.0-2.fc13.noarch
wine-pulseaudio-1.2.0-2.fc13.i686
wine-common-1.2.0-2.fc13.noarch
wine-symbol-fonts-1.2.0-2.fc13.noarch
wine-system-fonts-1.2.0-2.fc13.noarch
请教怎么把这些wine开头的包都删除掉呢?[color=Red][/color]
文章评论

共有 14 条评论

  1. bzjoko 于 2010-11-05 02:11:20发表:

    #yum remove wine -y

  2. wywrw0512 于 2010-11-01 15:09:25发表:

    需要对这个命令详细的熟悉一下

  3. wywrw0512 于 2010-11-01 15:08:57发表:

    支持

  4. 昊昊荡荡 于 2010-09-03 15:36:15发表:

    [i=s] 本帖最后由 昊昊荡荡 于 2010-9-3 15:47 编辑 [/i]

    引用:
    两种方法:

    rpm -e ?rpm -qa |grep wine? (注意不是单引号,而是键盘数字1前面的符号。)

    rpm -qa |grep wine |xargs rpm -e
    yippee 发表于 2010-9-3 14:26


    经实验,这个方法删除最彻底!

    谢谢,我又学了一个命令xargs~!

  5. yippee 于 2010-09-03 14:26:27发表:

    两种方法:

    rpm -e ?rpm -qa |grep wine? (注意不是单引号,而是键盘数字1前面的符号。)

    rpm -qa |grep wine |xargs rpm -e

  6. 昊昊荡荡 于 2010-09-03 11:06:31发表:

    [i=s] 本帖最后由 昊昊荡荡 于 2010-9-3 11:11 编辑 [/i]

    引用:
    #yum remove wine-common,
    应该会提醒还需要删除另一个wine-core,
    点y同意就是了。

    另外,图形界面 “添加/删除软件” 也行
    alick 发表于 2010-9-2 17:38

    习惯在命令行方式下操作,按版主大人的方法已搞定!
    对呀,我怎么没想到呢?

  7. alick 于 2010-09-02 17:38:03发表:

    [i=s] 本帖最后由 alick 于 2010-9-2 17:39 编辑 [/i]

    [code]#yum remove wine-common[/code],
    应该会提醒还需要删除另一个wine-core,
    点y同意就是了。

    另外,图形界面 “添加/删除软件” 也行

  8. shenhao0129 于 2010-09-01 10:49:04发表:

    rpm的不太熟悉哦

  9. wangyu 于 2010-09-01 10:32:09发表:

    我好像一直只装不卸的

  10. 昊昊荡荡 于 2010-09-01 09:42:25发表:

    经过调整删除的先后顺序,现在仅剩下两个相互依赖的包,该怎么删呢,大家支个招给我吧!
    [root@fedora13 ~]# rpm -qa |grep wine
    wine-core-1.2.0-2.fc13.i686
    wine-common-1.2.0-2.fc13.noarch
    [root@fedora13 ~]# rpm -e wine-common
    error: Failed dependencies:
    wine-common = 1.2.0-2.fc13 is needed by (installed) wine-core-1.2.0-2.fc13.i686
    [root@fedora13 ~]# rpm -e wine-core
    error: Failed dependencies:
    wine-core = 1.2.0-2.fc13 is needed by (installed) wine-common-1.2.0-2.fc13.noarch
    [root@fedora13 ~]#

  11. pallana 于 2010-08-31 20:29:22发表:

    依赖关系搞的复杂 了

  12. 昊昊荡荡 于 2010-08-31 15:02:58发表:

    [root@fedora13 /]# rpm -qa |grep wine >wine.txt
    [root@fedora13 /]# chmod o+x wine.txt
    [root@fedora13 /]# ./wine.txt
    error: Failed dependencies:
    wine-courier-fonts = 1.2.0-2.fc13 is needed by (installed) wine-fonts-1.2.0-2.fc13.noarch
    error: Failed dependencies:
    libwine.so.1 is needed by (installed) wine-pulseaudio-1.2.0-2.fc13.i686
    libwine.so.1 is needed by (installed) wine-capi-1.2.0-2.fc13.i686
    libwine.so.1(WINE_1.0) is needed by (installed) wine-pulseaudio-1.2.0-2.fc13.i686
    libwine.so.1(WINE_1.0) is needed by (installed) wine-capi-1.2.0-2.fc13.i686
    wine-core = 1.2.0-2.fc13 is needed by (installed) wine-common-1.2.0-2.fc13.noarch
    wine-core = 1.2.0-2.fc13 is needed by (installed) wine-pulseaudio-1.2.0-2.fc13.i686
    wine-core = 1.2.0-2.fc13 is needed by (installed) wine-capi-1.2.0-2.fc13.i686
    error: Failed dependencies:
    wine-common = 1.2.0-2.fc13 is needed by (installed) wine-core-1.2.0-2.fc13.i686
    我把与wine相关的包名打印到一个文件,然后再这个文件的每一行前加上rpm -e,再赋予这个文件可执行属性,运行的结果出现了上面的情况?貌似这些包之间相互存在依赖关系,还删不掉了
    请高手指点如何删除这些包?

  13. 昊昊荡荡 于 2010-08-31 14:48:21发表:

    [i=s] 本帖最后由 昊昊荡荡 于 2010-8-31 14:54 编辑 [/i]

    引用:
    为什么不用yum卸载,却偏偏要用rpm?
    绿色圣光 发表于 2010-8-31 14:46


    醍醐灌顶啊!哥哥
    是用yum erase wine命令进行卸载吗?
    执行完上面的命令之后,那么与wine相关的包还是在啊

  14. 绿色圣光 于 2010-08-31 14:46:47发表:

    为什么不用yum卸载,却偏偏要用rpm?