pacman --deptest

Check each dependency specified and return a list of dependencies that are not currently satisfied on the system. See also: pacman. More information: https://manned.org/pacman.8.

pacman -T {{package1 package2 ...}}

pacman -T "{{bash>=5}}"

pacman -T "{{bash>5}}"

pacman -Th