I uninstalled a corrupted Apache2 on Ubuntu and when I re/install Apache2 it will restore the same files as the old one.
I want to do a fresh installation of apache2.
I uninstalled a corrupted Apache2 on Ubuntu and when I re/install Apache2 it will restore the same files as the old one.
I want to do a fresh installation of apache2.
It is not enough to use sudo apt-get uninstall
, that will keep the configuration.
For a complete uninstall, use sudo apt-get purge apache2
.
You may also be interested in reading this Q&A on the Ubuntu Stack Exchange site, which covers the same problem.