Reinstall all packages that have files in a directory
pip install jdAptDirReinstall==1.0
This script helps you, if you accidentally removed a system directory. It will reinstall all packages, that had files in the directory.
Usage: jdAptDirReinstall <directory>
This script needs apt and apt-file. Please run apt-file update before executing this script.