Errors when trying to update and auto remove packages on Debian 8
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/
And the following when running sudo apt-get update && apt-get upgrade:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Do I need to be root to do this, or am I missing something?