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?
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.