How to verify installed packages on Ubuntu/Debian

Written by Yujin Boby

Edit in WordPress

To verify the integrity of installed packages, you can use debsums utility. First of all install debsums with command

apt install -y debsums

To verify packages, run

debsums -s

To verify a package

debsums PKG_NAME

If you find any packages with missing files, you can reinstall them with the command

apt reinstall PKG_NAME