This question already has an answer here:
- Permission denied, are you root? 6 answers
I tried apt-get update and upgrade together and this is what I got.
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?
What should I do?