Update errors

Asked by Anthony Diaz

I get these errors when I try to update ubunutu...

E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

don't understand the errors..

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Clinton Fung (clinton-fung) said :
#1

Generally this kind of error surfaces when attempting to run apt without root privileges. Try run using sudo:

sudo apt update

Can you help with this problem?

Provide an answer of your own, or ask Anthony Diaz for more information if necessary.

To post a message you must log in.