Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem Hot! ✅
before starting large software downloads.
Which (Ubuntu, Debian, Mint) are you using?
ps aux | grep -i apt
Sometimes the command itself throws an error. Common failures include: before starting large software downloads
-a (or --pending ): Instructs the system to process all pending packages currently in an interrupted state.
If dpkg finished configuring but some software is still acting "broken," use the apt fix-broken tool: sudo apt install -f Use code with caution. 4. Clean up and Upgrade
If dpkg --configure -a doesn't work, there may be broken dependencies that need to be resolved. Use the apt package manager to fix these: sudo apt install -f Use code with caution. (The -f stands for "fix-broken".) Solution 3: Re-updating the Package Lists Common failures include: -a (or --pending ): Instructs
While it looks serious, it’s actually one of the most straightforward Linux package management issues to fix. Here is your step-by-step guide to getting your system back on track. 1. The Standard Fix
export DEBIAN_FRONTEND=noninteractive sudo dpkg --configure -a
This guide explains why the error occurs, how to resolve it safely, diagnostic steps, recovery options for different failure modes, and preventive measures. Use the commands exactly as shown and run them in a terminal on the affected Debian/Ubuntu-based system. Clean up and Upgrade If dpkg --configure -a
sudo dpkg --configure package-name
sudo apt upgrade
The "E: dpkg was interrupted" error occurs on Debian-based systems when package installation or updates are terminated prematurely, leaving packages unconfigured. The standard solution is to run sudo dpkg --configure -a in the terminal to complete pending setups. For more details, visit Ask Ubuntu . E: dpkg was interrupted... run 'sudo dpkg --configure