90 Find incomplete packages

Created Sunday 23 October 2022


To locate packages and number of missing files on each:
pacman -Qk 2>/dev/null | grep -v ' 0 missing files'


To locate packages with just missing files:
pacman -Qk 2>/dev/null | grep -v ' 0 missing files' | cut -d: -f1


To reinstall a package:
sudo pacman -Syu package --overwrite --noconfirm