rpm -e 删除失败

Posted 品尝这杯浓咖啡

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了rpm -e 删除失败相关的知识,希望对你有一定的参考价值。

[wang@localhost ~]$ rpm -qa httpd
httpd-2.2.15-47.el6.centos.3.x86_64
[wang@localhost ~]$ rpm -e httpd-2.2.15-47.el6.centos.3.x86_64
error: Failed dependencies:

        httpd >= 2.2.0 is needed by (installed) gnome-user-share-2.28.2-3.el6.x86_64


[root@localhost tools]# rpm -e --allmatche shttpd-2.2.15-47.el6.centos.3.x86_64
--allmatche: unknown option
[root@localhost tools]# rpm -e --allmatches --nodeps httpd-2.2.15-47.el6.centos.3.x86_64
[root@localhost tools]# rpm -qa httpd
[root@localhost tools]# 

以上是关于rpm -e 删除失败的主要内容,如果未能解决你的问题,请参考以下文章