Skip to content

Instantly share code, notes, and snippets.

@sorokadima
Last active January 15, 2020 08:13
Show Gist options
  • Save sorokadima/826226d8211bef3b2f94ed3ac52895ad to your computer and use it in GitHub Desktop.
Save sorokadima/826226d8211bef3b2f94ed3ac52895ad to your computer and use it in GitHub Desktop.
sudo apt install Error (E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?)
# E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
# E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
sudo lsof /var/lib/dpkg/lock
sudo kill -9 <PID> && sudo dpkg --configure -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment