Problem [work] | Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The

sudo rm /var/lib/dpkg/lock-frontend /var/lib/dpkg/lock sudo dpkg --configure -a

After removing locks, always run the configure command again: manual system reboots during an update

This error occurs when a package installation or system update is forcibly stopped before it can finish the configuration phase. Common causes include power loss, manual system reboots during an update, or a slow CPU appearing to hang. Primary Fix: Reconfigure All Pending Packages manual system reboots during an update

Only remove locks if you’re sure no package process is running. manual system reboots during an update

sudo dpkg --purge --force-all <package-name>