PDA

View Full Version : [ubuntu] Apache2 always re-install with dist-upgrade



BSK
March 1st, 2010, 12:37 AM
Hi,

I have a small web server with ubuntu 9.10 that used to be running Apache2 but I switched to Lighttpd. Everything runs fine but each time I run "apt-get dist-upgrade" it always wants to re-install Apache2.

So my two questions are ;
1. Why ?
2. How to fix it ?

Thanks!!!

stlsaint
March 1st, 2010, 12:43 AM
try:

sudo aptitude purge apache2
if that doesnt fix than...

sudo aptitude install deborphan
then

sudo aptitude purge $(deborphan)

BSK
March 1st, 2010, 01:36 AM
Thanks,


sudo aptitude purge apache2

worked.