HardBirch

Apache Linux上RPM包卸载 备忘

时间:09-12-02 栏目:系统技术篇 作者:鲁智森也有文化 评论:0 点击: 1,353 次

[root@apache02 home]# rpm -q -a|grep http
httpd-2.0.52-25.ent
httpd-manual-2.0.52-25.ent
system-config-httpd-1.3.1-1
httpd-devel-2.0.52-25.ent
httpd-suexec-2.0.52-25.ent

#rpm -e httpd-2.0.52-25.ent
error: Failed dependencies:
        httpd-mmn = 20020903 is needed by (installed) mod_auth_kerb-5.0-1.i386
        httpd-mmn = 20020903 is needed by (installed) mod_auth_mysql-2.6.1-2.2.i386
        httpd-mmn = 20020903 is needed by (installed) mod_auth_pgsql-2.0.1-7.1.i386
.........................................

        webserver is needed by (installed) webalizer-2.01_10-25.i386
        webserver is needed by (installed) mailman-2.1.5.1-34.rhel4.3.i386
        webserver is needed by (installed) htdig-web-3.2.0b6-3.40.2.rhel4.i386
        httpd = 2.0.52-25.ent is needed by (installed) httpd-manual-2.0.52-25.ent.i386
        httpd = 2.0.52-25.ent is needed by (installed) httpd-suexec-2.0.52-25.ent.i386
        httpd >= 2.0.40 is needed by (installed) mod_auth_pgsql-2.0.1-7.1.i386
        httpd >= 2.0.40 is needed by (installed) mod_perl-1.99_16-4.i386
        .......................................
        httpd = 2.0.52 is needed by (installed) httpd-devel-2.0.52-25.ent.i386
[root@apache02 home]# rpm -e httpd-2.0.52-25.ent --nodeps
warning: /etc/httpd/conf/httpd.conf saved as /etc/httpd/conf/httpd.conf.rpmsave
注:加上--nodeps (不检查依赖性)。因为有些软件是相互依赖的,先卸哪个都不行,就得用nodeps这个参数才行。

[root@apache02 home]#
[root@apache02 home]# rpm -e httpd-manual-2.0.52-25.ent

[root@apache02 home]# rpm -e system-config-httpd-1.3.1-1
[root@apache02 home]# rpm -e httpd-manual-2.0.52-25.ent
[root@apache02 home]# rpm -e system-config-httpd-1.3.1-1
[root@apache02 home]# rpm -e httpd-devel-2.0.52-25.ent
error: Failed dependencies:
        httpd-devel is needed by (installed) mod_perl-devel-1.99_16-4.i386
[root@apache02 home]# rpm -e httpd-devel-2.0.52-25.ent --nodeps
[root@apache02 home]# rpm -e httpd-suexec-2.0.52-25.ent
[root@apache02 home]# rpm -q -a|grep http
[root@apache02 home]#

至此,Apache


的RPM包卸载


完成。

声明: 本文由( 鲁智森也有文化 )原创编译,转载请保留链接: Apache Linux上RPM包卸载 备忘

Apache Linux上RPM包卸载 备忘:等您坐沙发呢!

发表评论


QQ群互动

Linux系统与内核学习群:194051772

WP建站技术学习交流群:194062106

魔豆之路QR

魔豆的Linux内核之路

魔豆的Linux内核之路

优秀工程师当看优秀书籍

优秀程序员,要看优秀书!

赞助商广告

友荐云推荐