top of page
Could not get lock /var/lib/dpkg/lock
Another process is using it?
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?
Let fix this NOW.
1. Find the process of 'apt'
$ ps -A| grep apt
2413 ? 00:00:00 apt.systemd.dai
2418 ? 00:00:00 apt.systemd.dai
2. Kill the process
$ sudo kill -9 2413
$ sudo kill -9 2418
Done. You show now can run sudo apt commands.
bottom of page