This question already has an answer here:
- Permission denied, are you root? 7 answers
lately whenever i try to update through the terminal I get this message
E: could not open lock file /var/lib/apt/lists/lock - open (13: permission denied) E: unable to lock directory /var/lib/apt/lists/ E: could not open lock file /var/lib/dpkg/lock - open (13: permission denied) E: unable to lock administration directory (/var/lib/dpkg/), are you root?
I am using ubuntu 14.04.1 and apt-get had been working just fine until now