I also think this is the best solution currently. It is much less messy than having to ignore the sudo binaries every update or remove them since this package provides sudo. On Wed, Feb 15, 2023 at 3:54 AM Sefa Eyeoglu <contact@scrumplex.net> wrote:
Having base-devel converted to a meta package is horrible, I can no longer get rid of sudo as it causes package conflicts and pacman will not allow the removal of it.
In that case your best bet is creating an empty package that just provides sudo and is empty otherwise. That will satisfy pacman and will also fulfill your desire to not have sudo on your system.
I do not want sudo on my system, yay has stopped working with doas now, because it prioritises sudo and only resorts to doas (and then su if doas does not exist) if sudo does not exist, but because sudo will exist for everyone who wants to build AUR packages, yay is completely broken for me.
But IMO your best bet is to use a package like doas-sudo-shim[0], which should allow most programs and scripts to continue working properly, even if they don't support doas directly.
Best
Sefa Eyeoglu https://scrumplex.net
-- Sincerely, Matthew Blankenbehler