That is a little different as you only did one cycle of pacman -R. That will remove orphans but often creates new orphans.
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
It may be similar in your specific test case, but it is very different and wonât provide the same results in all cases.
âŚrun as root does not create any new dpendencies, I guess that is why the Arch Wiki is recommending that way.
![]()
You donât mean this guide, now do you ![]()