diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-09-02 16:46:19 +0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-09-02 16:46:19 +0800 |
commit | bfcd286bb674b015de6877eff784511c83398146 (patch) | |
tree | 988154bd2aabe80fd5620e7c60db61484b3ef2f2 | |
parent | 8434595b284aa1d4de2c32317fbff38b71924233 (diff) |
upd remove special orphan pkg
-rwxr-xr-x | sh/upd | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -166,6 +166,9 @@ clean () { # https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Removing_unused_packages_(orphans) pacman -Qdttq | sudo pacman -Rns --noconfirm - + # https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Detecting_more_unneeded_packages + # remove special orphan pkgs: dependency cycle, excessive denpendencies etc. + pacman -Qqd | sudo pacman -Rsu --noconfirm - } # basic daily stuff |