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

Eduardo J. Vega Arguedas edvega at racsa.co.cr
Tue Oct 10 22:56:57 UTC 2006


Same result /etc/apache2 dir just show

drwxr-xr-x  3 root root 4096 2006-10-10 17:54 .
drwxr-xr-x 85 root root 4096 2006-10-10 17:54 ..
drwxr-xr-x  2 root root 4096 2006-10-10 17:54 mods-available

it's missing all config files.

I also try by 

dpkg -r apache2

dpkg --purge apache2

apt-get install apache2

and same result it will not restore configuration files...


-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Peter Garrett
Sent: Tuesday, October 10, 2006 4:48 PM
To: ubuntu-users at lists.ubuntu.com
Subject: Re: FULL apache2 reinstall by apt-get it's possible including
config files, etc?

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

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users





More information about the ubuntu-users mailing list