E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied) E: Unable to lock the download directory

Asked by Russ Porter

I recieved this error code under apt-get:

E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
E: Unable to lock the download directory

How do I disable this and update Ubuntu?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jeet (gour-jitendrasingh) said :
#1

see there is another process (download is running ) that's y you are getting this error.

check if there is active software download please let it finish or kill by manually ..

then try

sudo apt-get update && sudo apt-get upgrade

Can you help with this problem?

Provide an answer of your own, or ask Russ Porter for more information if necessary.

To post a message you must log in.