Skip to content
Detects which packages need to be rebuilt
Shell Makefile
Branch: master
Clone or download
Latest commit 10bae83 Feb 15, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Import Nov 6, 2018
LICENSE Import Nov 6, 2018
Makefile Add pacman hook Nov 25, 2019
rebuild-detector.hook Add hook targets (#9) Feb 13, 2020


This tool helps you find Arch Linux packages that were built against older versions of dependencies and therefore need to be rebuilt to function properly.

Supported checks:

  • ldd: An executable is linked against a non-existent shared library
  • python: A package was built against an older Python version
  • perl: A package was built against an older Perl version
  • ruby: A package was built against an older Ruby version
  • haskell: A package was built against an older Haskell version


The package is available on AUR:


Run checkrebuild to see which packages need to be rebuilt.

Use verbose mode checkrebuild -v to get a bit more information about why these packages are flagged.

By default only packages from local repos (file://) are checked, if you want to include additional repos, use -i flag like so: checkrebuild -i repo1 -i repo2

Pacman hook

A pacman hook is included in the distribution as well. For performance reasons, the ldd check is only executed against direct dependencies of the packages that are being updated in this pacman transaction.

You can’t perform that action at this time.