[daily][archlinux][pacman] 删除所有孤立包(orphan)
[09:40] <tong> sudo pacman -Rsun `pacman -Qdt |cut -d' ' -f 1` [09:40] <tong> 我每次都这么删, 有没有高级点的招? [09:40] <tong> 现在不行了, 它说 error: only one operation may be used at a time [09:41] <tg2arch> [Sasasu] yaourt -Qdt [09:41] <tg2arch> [Sasasu] 或者 pacman -Rscn $(pacman -Qdtq) [09:42] <tong> 哦, 这个好. yaourt
yaourt的输出如下:
┬─[tong@T7:~/Src/copyright]─[09:39:36 AM] ╰─>$ yaourt -Qdt extra/guile1.8 1.8.8-5 multilib/lib32-dbus 1.12.0-1 local/libxfont 1.5.3-1 community/python-colorama 0.3.9-1 extra/python2-gobject 3.26.1-1 ==> Do you want to remove these packages (with -Rcs options) ? [y/N] ==> ----------------------------------------------------------------- ==> y