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
  • 28,338
  • 18
  • 105
  • 212

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
  • 3,507