That is a little different as you only did one cycle of pacman -R
. That will remove orphans but often creates new orphans.
1 Like
i have tested it with the command:
pacman -Qtdq | pacman -Rns -
it’s similar to
pacman -R $(pacman -Qtdq)
Edit:
both commands remove the same packages, but not the ones that are additionally displayed to me with ‘yay -Yc
’.
Okay…
I could have sworn I already wrote something for everyone that covers all of this. . . Hmm
2 Likes
It may be similar in your specific test case, but it is very different and won’t provide the same results in all cases.
1 Like
…run as root does not create any new dpendencies, I guess that is why the Arch Wiki is recommending that way.
2 Likes
You don’t mean this guide, now do you
4 Likes