[arch-general] pacman: List not required and not opt-required.
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?
On 14.10.2014 09:16, Hugo Osvaldo Barrera wrote:
Are there any plans to add such a flag? Maybe "-tt"? Is there any interest in this on behalf of anyone else?
Wrong list, ask on pacman-dev or #archlinux-pacman on irc.freenode.net.
participants (2)
-
Florian Pritz
-
Hugo Osvaldo Barrera