Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.