APT Error: Unable to acquire /var/lib/dpkg/lock-frontend lock (another process using it)

root@server:/home/server# sudo apt --fix-broken install 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?

Solutions:-

ps aux | grep -i apt
ps aux | grep -i dpkg
sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/lib/dpkg/lock
sudo rm /var/lib/apt/lists/lock
sudo reboot

Last updated