Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've found a bad bit in my RAM and still experience some notable bugs after replacing it. I suspect some binaries could get corrupted during installation. Can the system check the installed binaries checksums based on the packages metadata?

share|improve this question

The MD5 sums of files installed by .deb packages are stored in /var/lib/dpkg/info/*.md5sums. Run the following to check the integrity of all files:

cd /
md5sum -c /var/lib/dpkg/info/*.md5sums

Or maybe you want to see only the failures:

cd /
LC_ALL=C md5sum -c /var/lib/dpkg/info/*.md5sums | grep -v OK
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.