Use pacutils, paccheck: Verify Package Integrity In Arch

Downloads and upgrades can go wrong. Files can be corrupted. Your own hard drives can be the culprit. So once in a while it doesn't hurt to check file integrity especially your downloaded packages.

#paccheck --sha256 (returns with list of packages and result)

If there is a mismatch, you can reinstall the package.

edit: You can also use an alternative.
#paccheck --list-broken       (returns with a list of packages with mismatches)

#pacman -S package1,package2...

Recheck with:

#paccheck --sha256 package

tag: pacman,arch,linux,pacutils,paccheck
Post a Comment

Popular posts from this blog

GnuCash In Arch Linux

America Must Evolve Fast Or Die

Update for Spectre And Meltdown, A Script for Checking Your System