Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem

The Complete Guide to Fixing "dpkg was interrupted" in Linux

If you are a Linux user, chances are you have encountered this error message at least once. It usually appears when you try to install a new package, run an update, or use apt-get. It looks something like this:

Check if any dpkg process is actually running: The Complete Guide to Fixing "dpkg was interrupted"

Because the Package Manager (dpkg) was in the middle of writing files to your system when it stopped, it locks itself to prevent further corruption. Here is how to fix it and get your system back on track. The Quick Fix: The Command in the Error Message sudo : Gives you administrative (root) privileges

After removing the locks, try the configuration command again: sudo dpkg --configure -a Use code with caution. 3. Dealing with Broken Dependencies Check if any dpkg process is actually running: