LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Can't get rid of Apache (https://www.linuxquestions.org/questions/debian-26/cant-get-rid-of-apache-576833/)

walterbyrd 08-13-2007 03:55 PM

Can't get rid of Apache
 
I am trying to upgrade to Apache2. The fact that Apache existed constantly screws up the install.

I finally tried:
apt-get --purge apache
apt-get clear

I was able to get apache2 to run, but not correctly. Apache *still* gets loaded at boot. I have to do a killall apache, then apache2 -k start. It works, but seems wrong.

walterbyrd 08-13-2007 04:00 PM

Excuse me, I meant:
apt-get --purge remove apache
apt-get clean

restless 08-14-2007 10:58 AM

well you could always just remove the SysV startup script?

farslayer 08-14-2007 11:30 AM

# apt-get install sysv-rc-conf
# sysv-rc-conf

use the space bar to toggle on and off services accordingly..

walterbyrd 08-15-2007 01:34 PM

Stopping the service has never been a problem. I want to remove the service. I don't want it to start back up the next time I boot.

farslayer 08-15-2007 03:24 PM

and sysv-rc-conf can set it to not start next time you boot, even if it's still installed.

as for why it doesn't uninstall with apt, you need to post the errors you are getting when you try to remove apache in order for us to diagnose that problem. just saying it's not removed isn't enough information, that's why I only told you how to make it not start automatically.

walterbyrd 08-16-2007 07:34 AM

I don't get any errors when I attempt to remove apache. It just isn't removed.

utanja 08-16-2007 10:13 AM

have you tried to remove with aptitude.....?

farslayer 08-16-2007 09:26 PM

Did you use apt to install apache ? what is the output of apt-cache policy apache ?

Code:

debianetch:~# apt-cache policy apache
apache:
  Installed: (none)
  Candidate: 1.3.34-4.1
  Version table:
    1.3.34-4.1 0
        500 http://ftp.uwsg.indiana.edu etch/main Packages



All times are GMT -5. The time now is 01:31 AM.