Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem Top [2021] File
sudo dpkg --configure -a --force-all
sudo dpkg --configure -a export DEBIAN_FRONTEND=noninteractive sudo dpkg --configure -a sudo dpkg --configure -a --force-all sudo dpkg --configure
Fixing an interrupted dpkg state is a routine task in Linux administration. By sequentially clearing the locks, running the configuration engine, and patching dependencies, you can restore your package manager to perfect health without losing any data. Share public link running the configuration engine
Stuck or locked dpkg/apt (lock file errors) and patching dependencies
Fixing the "dpkg was interrupted" Error in Linux: A Complete Guide
0 2 * * 0 [ -f /var/lib/dpkg/lock ] && find /var/lib/dpkg/lock -cmin +60 -exec rm {} \;