How to verify installed packages on Ubuntu/Debian

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

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *