Error: you cannot perform this operation unless you are root

Hi, I’ve been trying to use pacman -Syu to update Manjaro, but it’s been giving me the error message in the tittle. I’ve found root inside user settings>groups and added my profile to it, but it is still giving me the error message. Any idea on how to fix this?

You need administrator privileges, you’ll get them by sudo:

sudo pacman -Syu
2 Likes

ah, thanks so I can take myself out of root, also now it says that Admin Group Wheel is not enabled should I just ignore that?

You need to be in wheel group if you want make sudo. Login to root by su and add yourself by this command:

usermod -aG wheel user