Chinaunix

标题: 如何删除redhatlinux自带的apache?急!谢谢!等ing [打印本页]

作者: silvering    时间: 2005-11-16 10:17
标题: 如何删除redhatlinux自带的apache?急!谢谢!等ing
问一下各位大侠,为什么自己装的apache就叫apache,但是redhat自带的叫httpd啊?很弱的问题。。。

怎么删除自带的apache呢?

如何删除redhatlinux自带的apache?急!谢谢!等ing
作者: level    时间: 2005-11-16 10:19
rpm -e apache
作者: silvering    时间: 2005-11-16 10:27
应该是rpm -e httpd,但是报错了,httpd关联了好多东西。。。
[root@wapserver httpd]# rpm -e httpd
error: Failed dependencies:
        httpd-mmn = 20020628 is needed by (installed) mod_perl-1.99_07-5
        httpd-mmn = 20020628 is needed by (installed) mod_python-3.0.1-3
        httpd-mmn = 20020628 is needed by (installed) mod_ssl-2.0.40-21
        httpd-mmn = 20020628 is needed by (installed) php-4.2.2-17
        libapr.so.0 is needed by (installed) mod_perl-1.99_07-5
        libaprutil.so.0 is needed by (installed) mod_perl-1.99_07-5
        webserver is needed by (installed) webalizer-2.01_10-11
        httpd >= 2.0.40 is needed by (installed) mod_perl-1.99_07-5
        httpd >= 2.0.40 is needed by (installed) mod_python-3.0.1-3
        httpd is needed by (installed) mod_ssl-2.0.40-21
        httpd is needed by (installed) redhat-config-httpd-1.0.1-18
作者: HonestQiao    时间: 2005-11-16 10:43
-nodeps
作者: bugkill    时间: 2005-11-16 12:30
rpm -qa | grep httpd

rpm -e 你的.rpm

实在不行
rpm -e nodeps




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2