FULL apache2 reinstall by apt-get it's possible including config files, etc?

Peter Garrett peter.garrett at optusnet.com.au
Tue Oct 10 22:47:53 UTC 2006


On Tue, 10 Oct 2006 16:38:51 -0600
"Eduardo J. Vega Arguedas" <edvega at racsa.co.cr> wrote:

> Hello Guys.. I screw apache2 installation so I need to re-install it
> 
>  
> 
> But when I do a apt-get apache2 it will not create or overwrite /etc/apache2
> directory !!
> 
>  
> 
> I try by using the -reinstall parameter and no luck. how could I do a FULL &
> Complete re-installation including configuration files and other dirs from a
> package?

Try  this:

sudo aptitude purge apache2 && sudo aptitude install apache2

Peter




More information about the ubuntu-users mailing list