Error when reinstalling apache2
- by ProfGhost
I did an dist-upgrade on Debian Wheezy yesterday and got an error with syslog-nc-core.
I found that i should try to reinstall it and tried but it ended with an error that apache2 isnt configured.
I purged it also and when i now try to reinstall i get the error
Setting up apache2 (2.4.10-1) ...
Directory /etc/apache2/conf.d is not empty - leaving as is
Please note, that directory is considered obsolete and not read anymore by default
zz010_psa_httpd.conf
ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file, not touching it
dpkg: error processing package apache2 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)