Skip to content

Instantly share code, notes, and snippets.

@resanul
Created May 22, 2018 10:59
Show Gist options
  • Save resanul/37cd40987717c77f901c401976462e0e to your computer and use it in GitHub Desktop.
Save resanul/37cd40987717c77f901c401976462e0e to your computer and use it in GitHub Desktop.
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?
E: Could not get lock /var/lib/dpkg/lock -
solved:::>>> for ubuntu 14.04, 16.04, 18.04
>>
$ sudo rm /var/lib/apt/lists/lock
$ sudo rm /var/cache/apt/archives/lock
$ sudo rm /var/lib/dpkg/lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment