[arch-general] post-install dependencies check

Eli Schwartz eschwartz at archlinux.org
Fri Feb 21 19:29:23 UTC 2020


On 2/21/20 2:11 PM, Jude DaShiell wrote:
> Can pacman be used to find which packages are missing which optional
> dependencies after an install?

pacman -Qi for a given package will show you optional dependencies and
list which ones are satisfied.

You can walk a dependency tree automatically and check for things which
have uninstalled optdepends, by installing community/pacutils and
running the command:

paccheck --opt-depends --quiet --recursive

with, optionally, the list of packages to do checks for. By default,
like pacman -Qi, it will interpret no explicitly specified packages as
"all installed packages".

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20200221/f25d1e41/attachment.sig>


More information about the arch-general mailing list