For some reasons if you mistakenly have removed some configuration files like /etc/snmp/snmpd.conf in my case, the file can be restored reinstalling the package with the –force-confmiss option:
# apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall snmpd
Thank you so much!!!
This thing was driving me crazy. I deleted ntp.conf and a reinstall didnt compile a new conf!
Thank you very much ! I didn’t copy a bak file for a conf file and I could’nt restore the default file.