Ubuntu - Unable to lock /var/lib/dpkg/lock- Error

April 2018


It may happen that upon installing a package or a new software on Ubuntu, the system prompts you with the following error message:
  • Unable to lock/var/lib/dpkg/lock-open(11 Resource temporarily unavailable).
  • Unable to lock the administration directory (/var/lib/dpkg/), Is Another process using it?


  • This may imply that a process using apt is already underway, simply close or update your package manager (Synaptic Package Manager), if the problem persists open a terminal and type the following command:
  • sudo rm /var/lib/dpkg/lock
Published by jak58. Latest update on August 13, 2010 at 09:31 AM by jak58.
This document, titled "Ubuntu - Unable to lock /var/lib/dpkg/lock- Error," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).
Ubuntu - Mounting ISO files with Gmount
Ubuntu - Numeric Keypad disabled at start-up