Go Smart with REAR (pRay, rEad, leArn, tRy)

10/25/2013

E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)

9:18 AM Posted by Vandaime No comments
Do you ever find an error message like this on your linux?
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/

 I ever experienced it. And shortly after the error message appears on my debian linux, then what happens next is I can not install or update apps and other commands through the terminal emulator, the message always appears.
 I was wondering how to get rid of error message like that, but after some time surfing the internet (and several times following the tutorial wrong) I finally found a way to eliminate the error message like that.


The way is like this, open a terminal emulator and type this command in the terminal emulator:

rm / var / lib / apt / lists / lock
rm / var / cache / apt / archives / lock

Done!!! I can re-install the application and run other commands here through my terminal emulator

0 comments:

Post a Comment