Force apt-get to reinstall config files
apt-get -o DPkg::options::=--force-confmiss --reinstall install <package>
Update: apt-get only reinstalls missing config files. You can use dpkg --purge <package> to remove the config files before reinstalling the package.
Great ! I saved many times !
great. but even so, apt-get seems to only install the missing config files
Thanks, I updated the “post”. You can still use
dpkg --purge <package>to remove config files from a package, before reinstalling the package with--force-confmiss.