PDA

View Full Version : [ubuntu] Having trouble removing apache2


timClicks
January 29th, 2010, 01:58 AM
$ sudo apt-get purge apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libterm-readline-perl-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
apache2*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 36.9kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 246519 files and directories currently installed.)
Removing apache2 ...
$ /etc/init.d/apache2 status
* Apache is running (pid 21327).


Can anyone make sense of this?

hemimaniac
January 29th, 2010, 02:11 AM
did you try

sudo /etc/init.d/apache2 stop

then try to remove it, packages don't like being jerked out if they are running, may also need to kill anything depending on it

timClicks
January 29th, 2010, 02:16 AM
Looks like that's helped! Thanks :)