Pacman now warns when trying to uninstall a package that is an optdepend for
another, however, I was wondering if we could take this a step further, and
have a flag to list "packages that are not mandatory OR optional dependencies
for other packages".

A typical usage is: pacman -Rnsu $(pacman -Qdtq)

This uninstalls any leftover dependencies, INCLUDING optional dependencies. I'd
love to exclude these, but there's no programatical way to obtain a list of
packages that are "installed as dependencies and not mandatory or optional
dependencies for other".

Are there any plans to add such a flag? Maybe "-tt"? Is there any interest in
this on behalf of anyone else?

-- 
Hugo Osvaldo Barrera
A: Because we read from top to bottom, left to right.
Q: Why should I start my reply below the quoted text?

Attachment: pgp6eW867P7rs.pgp
Description: PGP signature

Reply via email to