dpkg: error: dpkg frontend is locked by another process
11,465
Let all the ongoing processes/installations/updates to complete, retry once all the installation/updates get completed. It will work.
If you've not started any installation/updates then try the following method.
Use the following command in the terminal, it will give you PID
sudo lsof /var/lib/dpkg/lock-frontend
then copy the value of PID and execute the following command with adding your copied PID in place of
sudo kill -9 <PID>
Related videos on Youtube
Author by
Akshay
Updated on September 18, 2022Comments
-
Akshay over 1 year
I am getting the following error on my terminal. Can some one please help?
-
user535733 almost 5 yearsClose ALL your other package managers, app stores, and similar applications. Do not interrupt any in progress; wait for them to finish.
-