How to Fix "dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem"
If the basic command fails or hangs, follow these steps in order: Fix Broken Dependencies cannot resolve the state on its own, use to force a fix for broken packages: sudo apt-get install -f Use code with caution. Copied to clipboard Clear Stale Update Files
(Replace [PID_NUMBER] with the actual number from the previous command).