Fix Ubuntu Unable to lock directory /var/cache/apt/archives/ Error – Ubuntu Tutorial

By | January 18, 2020

When you are using apt-get command on ubuntu, you may get this kind of error:

E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory

How to fix this error? We will introduce a solution for you in this tutorial.

Fix Unable to lock directory /var/cache/apt/archives/ Error

Open terminal and enter command below:

sudo rm -rf /var/cache/apt/archives/lock

then

exit

Leave a Reply