Tuesday, October 22, 2013

Error E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?



Sometimes when we use the Terminal following error appears and commands not work:

Error-  E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


How to fix it:

Option 1: restart your system. ---It is too longway

Option 2: open the terminal and copy-paste following and hit enter

sudo rm /var/lib/apt/lists/lock
 
That's it now it is fixed the error and you can use the terminal.

No comments:

Post a Comment