删除httpd出现的问题

安装nagios软件时,打算把apache安装到指定文件夹下,可是在我用命令#rpm -e httpd 删除以前安装的httpd时报错,出现以下提示:
[root@localhost local]# rpm -e httpd
error: Failed dependencies:
        httpd-mmn = 20020903 is needed by (installed) mod_perl-1.99_09-10.ent
        httpd-mmn = 20020903 is needed by (installed) mod_python-3.0.3-2.ent
        httpd-mmn = 20020903 is needed by (installed) mod_ssl-2.0.46-25.ent
        httpd-mmn = 20020903 is needed by (installed) php-4.3.2-8.ent
        httpd-mmn = 20020903 is needed by (installed) mod_authz_ldap-0.22-3
        webserver is needed by (installed) webalizer-2.01_10-15.ent
        httpd >;= 2.0.40 is needed by (installed) mod_perl-1.99_09-10.ent
        httpd >;= 2.0.40 is needed by (installed) mod_python-3.0.3-2.ent
        httpd = 2.0.46-25.ent is needed by (installed) mod_ssl-2.0.46-25.ent
        httpd is needed by (installed) redhat-config-httpd-1.1.0-4
关联文件太多,一个一个删太麻烦。
 
解决办法:
rpm -e --nodeps httpd

你可能感兴趣的:(http,职场,休闲)