I've accidentally deleted all contents of /var/cache files. I managed to reinstall most by doing dpkg -S /var/cache and apt-get --reinstall install PACKAGE_NAME (see here) on every package that I've found.
I still have some missing files into some directories. I re-created them but after rebooting, the problem was still here. Those are the packages with some files missing:
- bind
- dictionaries-common
- fontconfig
- ldconfig
Any ideas on how to force them to regenerate their files?