After the update to Plasma 6 I noticed a lot of orphaned packages related to plasma 5 so tried to run:
sudo pacman -Qqdt | pacman -Rns -
error: you cannot perform this operation unless you are root.
Huh? Interestingly the sudo did ask for my password on first run, but only after running the pacman command and giving the error… Not sure what to make of this.