Apache2 does not want to leave

Mike Bird mgb-ubuntu at yosemite.net
Sat Jun 21 18:41:07 UTC 2008


On Sat June 21 2008 11:09:43 galevsky wrote:
> In the end I got the apache2 package too due to a misunderstanding, and I
> now want to remove it. Let's try a sudo apt-get --purge remove apache2...
> exit status is OK, package is removed.
> If I do it again, apt-get answers that apache2 is not installed.
> Good. But false. I still have the daemon inside /etc/init.d
> which starts the server, and apache2 + apache2clt stay still remain in
> /usr/sbin/.

I don't have an Apache2 on any of my Ubuntu boxes but here's the
answer from a Debian server which is almost certainly the same:

# dpkg -S /etc/init.d/apache2
apache2.2-common: /etc/init.d/apache2

I suggest you run "dpkg -l | grep -i apache" to see what else
Apache-related you might want to remove.

--Mike Bird




More information about the ubuntu-users mailing list