LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   /etc/apache2 - how to recover folder (http://www.linuxquestions.org/questions/linux-server-73/etc-apache2-how-to-recover-folder-919298/)

dlugasx 12-18-2011 05:26 AM

/etc/apache2 - how to recover folder
 
Hi all,

I have a problem with my Debian. I have just uninstall Apache2 (apt-get remove apache2). Unfortunately I forgot to use "--purge" parameter, so I have decided to delete /etc/apache2 folder manualy.

Now I would like to install this package once again, but apt-get doesnt want to create new /etc/apache2 with all new configuration files.

How to install it properly once again using apt-get ????? How to create /etc/apache2 with apt-get ?


Dlugasx

dlugasx 12-18-2011 05:34 AM

Solution
 
Sorry for that post... I have just found...

Code:

apt-get install --reinstall apache2.2-common


All times are GMT -5. The time now is 05:54 AM.