ruebenramirez / blog

My blog
http://blog.ruebenramirez.com/
7 stars 0 forks source link

locks during `apt upgrade` #424

Closed ruebenramirez closed 5 years ago

ruebenramirez commented 5 years ago

my goto command for applying apt package updates

sudo apt update && sudo apt upgrade -qy && sudo apt install -f && sudo apt autoremove -qy && sudo apt-get autoclean && sudo sync && sudo sync
Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
ruebenramirez commented 5 years ago

looks like there's a dpkg configuration that must not have completed properly on a previous package upgrade operation:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.