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?
Asked
Active
Viewed 333 times
1

Archisman Panigrahi
- 28,338
- 18
- 105
- 212

James Raphael
- 11
- 1
1 Answers
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
sudo kill -15 3476
Or wait untill aptd is ready. – nobody Apr 05 '21 at 19:05