Saturday, July 15, 2017

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

Reflections On My Blogging: Keeping It Honest

When you're facing a white, blank screen trying to decide what to write, it seemed hopeless and hopeful at the same time. It's like...