Sponsored Link

Many people try purging packages and reinstalling them to reset them, but it sometimes removes other packages with it, so it becomes a headache (especially when you are trying to reset the X11 configuration files, removing a few hundred packages with it).

To solve these problems, lkjoel made a script called purgeconfig that will artificially reset the configuration files (manually removing the configuration files, marking the packages as purged, then reinstalling the packages).
WARNING: Do NOT run Apt/Aptitude/DPKG/Synaptic/Software Center while running purgeconfig.