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
1 |
apt install -y debsums |
To verify packages, run
1 |
debsums -s |
To verify a package
1 |
debsums PKG_NAME |
If you find any packages with missing files, you can reinstall them with the command
1 |
apt reinstall PKG_NAME |