Today, I scanned the linux server and found some security risks in the httpd service. because a new version of apache has been installed before, the httpd service that comes with linux installation does not have to be left in the system. As a result, the following error occurs: & nbsp; & nbsp
Today, I scanned the linux server and found some security risks in the httpd service. because a new version of apache has been installed before, the httpd service that comes with linux installation does not have to be left in the system. So we performed:
# Rpm-e httpd
Result: the following error occurs.
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
It seems that to uninstall these things, you should also uninstall its dependent packages, so
# Rpm-e mod_ssl
# Rpm-e mod_python
# Rpm-e mod_perl
# Rpm-e webalizer
After all dependent packages are detached
Again # rpm-e httpd succeeded!
I found the following rpm on the Internet and can add some parameters.
For example, # rpm-e httpd -- nodeps does not need to uninstall these dependency packages.