Can't seem to run apt upgrade

I’m getting the following when I attempt apt upgrade

**E:** Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

**E:** Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

any ideas what I need to do?

Thanks in advance

Are you? :slight_smile:

1 Like

as non root user, use sudo apt upgrade

Thanks for that - will give it a go when back home.

Noob question (as all mine are!), but why am
I not a root user and how do I change so that I am?


EDIT: I see what I’ve done

Now I feel silly

Night all

1 Like

You can login as root user directly

No need to feel bad, we all were where you are!

Either login directly as @Joulinar mentioned, or use sudo -i to become. You can also run the commands that need root privileges with sudo in the beginning. This may save you from making mistakes that may mess the system up.