{"id":944,"date":"2015-07-02T10:59:35","date_gmt":"2015-07-02T08:59:35","guid":{"rendered":"http:\/\/elkano.org\/blog\/?p=944"},"modified":"2015-07-02T10:59:35","modified_gmt":"2015-07-02T08:59:35","slug":"reinstall-restore-deleted-config-files-debian-ubuntu","status":"publish","type":"post","link":"https:\/\/elkano.org\/blog\/reinstall-restore-deleted-config-files-debian-ubuntu\/","title":{"rendered":"Reinstall and restore deleted config files in Debian \/ Ubuntu"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>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 &#8211;force-confmiss option:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-linenumbers=\"false\"># apt-get -o Dpkg::Options::=&quot;--force-confmiss&quot; install --reinstall snmpd<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; 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 &#8211;force-confmiss option: # apt-get -o Dpkg::Options::=&quot;&#8211;force-confmiss&quot; install &#8211;reinstall snmpd<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[137,138],"_links":{"self":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/944"}],"collection":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/comments?post=944"}],"version-history":[{"count":5,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/944\/revisions"}],"predecessor-version":[{"id":949,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/944\/revisions\/949"}],"wp:attachment":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/media?parent=944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/categories?post=944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/tags?post=944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}