Issue
I installed apache2
on my Raspberry Pi
, which runs Debian OS
.
apt-get intall apache2
Then I removed it using
apt-get remove apache2
But its files were present there, and I could also find some other packages related to apache2
over dpkg
. So, I manually deleted the apache2
file from /etc/
.
Now when I try to install the apache2 back. It installs it, but do not recalls
all the files that were deleted.
I am looking for a fresh installation, for the apache2
with all new fresh files
What should I do.?
Solution
How about
apt-get purge apache2
followed by
apt-get autoclean
and then finally
apt-get install apache2
Works on ubuntu on my desktop. Not sure about RasPi though. So, inform me about the results
try to reconfigure the package maybe?
dpkg-reconfigure apache2
good luck
Answered By - Fahad