1

E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3476 (aptd) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

Archisman Panigrahi
  • 25,210
  • 17
  • 90
  • 185

1 Answers1

1

dpkg is used by the automatic updates, use the following command to interrupt the process:

sudo pkill apt
sudo pkill dpkg
sudo dpkg --configure -a
GAD3R
  • 2,821
  • 1
  • 18
  • 30