LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   uninstalling apache (https://www.linuxquestions.org/questions/linux-software-2/uninstalling-apache-75870/)

p0 theed 07-25-2003 12:13 PM

uninstalling apache
 
hey guys, this seems like a stupid question, but im not sure whats going on. Anyway,

I installed apache 2.0 when I installed linux RH8. I've been trying to install the frontpage server extensions for a while now with no luck. So i've been reading on here that it's pry better to start with a fresh and clean install of apache.

so i want to uninstall apache, but when I go to the package manager thing that comes with rh8, i uncheck the web server and click update. It runs through checking the dependancies and tells me i have to uncheck the redhat-config-packages. So i go and uncheck that also, but each time I hit update (with web server and redhat-config-packages both unchecked) it comes up with saying i have to uncheck the redhat-config-packages still.

Does anyone have any ideas what would be causing it to consistantly be coming back saying i have to uncheck that file. thanks.

ppuru 07-25-2003 12:18 PM

from the bash prmpt

rpm -e --test httpd

this will give you all the dependant rpms.

p0 theed 07-25-2003 12:25 PM

ok its saying i have failed dependencies

ppuru 07-25-2003 12:56 PM

you will need to remove te dependent packages first.

Those dependent packages may have packages that are dependent on them

p0 theed 07-25-2003 01:05 PM

okay.... thats a pain..
anyway, i was looking at my system logs.. then under rpm packages.. and it says httpd-2.0.40-8.i386.rpm is int he list saying its installed.. but then i go to bash and rpm -e httpd.... and it tells me :

error: package httpd-2.0.40-8.i386.rpm is not installed..

????

p0 theed 07-25-2003 01:13 PM

ok anyway, i got rid of all the dependencies that listed after typing rpm -e --test httpd.

So i should be able to unstill it from the packages manager right

balaji2001com 07-28-2003 06:40 AM

have u found the solutions and did it work.

p0 theed 07-28-2003 08:08 AM

i have uninstalled all the dependencies (atleast I think I have).. but It still will not un install apache... Im not sure.

balaji2001com 07-28-2003 08:47 AM

check whether ur apache is running using the ps aux if its running stop it then query the rpm using the rpm -qa is any rpm is found then remove it using the rpm -e <name of the rpm installed> --nodeps
the nodeps option is to ignore all the dependencies if it is not removed then reboot the machine again and follow the steps again
get back to me with the status

p0 theed 07-28-2003 09:25 AM

hmm its uninstalled now. Thanks :)

reidsb 08-04-2003 09:50 PM

I just had the same problem, this post helped a lot.

I found the problem with mine seemed to be getting rid of mod_perl, but it's all good now.


All times are GMT -5. The time now is 06:04 PM.