Search Criteria
Package Details: pacman-log-orphans-hook 1.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/pacman-log-orphans-hook.git (read-only, click to copy) |
---|---|
Package Base: | pacman-log-orphans-hook |
Description: | hook to check whether there are any packages marked as unrequired (orphans) via pacman -Qttdq after every pacman run |
Upstream URL: | None |
Submitter: | phiresky |
Maintainer: | phiresky |
Last Packager: | phiresky |
Votes: | 28 |
Popularity: | 0.77 |
First Submitted: | 2022-05-07 11:41 (UTC) |
Last Updated: | 2022-05-31 09:44 (UTC) |
Latest Comments
drokas commented on 2024-03-08 21:54 (UTC) (edited on 2024-03-08 22:54 (UTC) by drokas)
Antiz commented on 2023-05-02 09:44 (UTC)
Since this hook now uses
-Qtdq
instead of-Qttdq
, can thepkgdesc
be updated accordingly? :)phiresky commented on 2023-03-19 17:33 (UTC)
Because they may be needed even if not marked as needed, see the pacman tips and tricks article in the wiki
RubenKelevra commented on 2022-07-25 14:30 (UTC)
Why not automate the removal? :)
Awebb commented on 2022-06-01 11:19 (UTC)
I stole it :-) and reduce the Exec line to:
Exec=/bin/bash -c 'orphans=$(pacman -Qqdt); if [[ ! -z "$orphans" ]]; then echo "$orphans"; fi'
I don't fancy verbosity for obvious things. Great idea, though!
phiresky commented on 2022-05-31 07:58 (UTC)
I've updated the hook to use
-Qtdq
AlexanderStein commented on 2022-05-26 10:23 (UTC)
I agree,
-Qtdq
seems to be the more suitable choice.ribugent commented on 2022-05-26 07:02 (UTC)
Hi
I've installed the hook because it's very useful in order to keep the system clean but if found a small inconsistency, when the hook is executed runs
pacman -Qttdq
, but in the shown message shows a different command to get and remove the orphanspacman -Qtdq | ...
.There are differences between the two lists, so running the command to remove the packages doesn't imply removing the message when running pacman on future occasions.
Personally, I find
-Qtdq
better because it doesn't list optional dependencies, so I'd like to suggest updating the parameters in the hook listing.What do you think?
Thanks