This question already has an answer here:
When I try to update it give the following::
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 the administration directory (/var/lib/dpkg/), are you root? dinesh@dinesh-R428-R439:~$ cd /var/lib/apt/lists/lock bash: cd: /var/lib/apt/lists/lock: Not a directory
Thanks in advance.