E: dpkg was interrupted, run 'dpkg --configure -a'_
E: dpkg was interrupted, run 'dpkg --configure -a'
When Ubuntu throws E: dpkg was interrupted, run 'dpkg --configure -a', the system diagnostics have flagged a condition known as "E: dpkg was interrupted, run 'dpkg --configure -a'". Most fixes for this error are straightforward and don't require wiping your drive.
What Actually Happened
Package manager encountered: a package installation was interrupted before dpkg finished writing its status database.
Symptoms
APT command failed: 'E: dpkg was interrupted, run 'dpkg --configure -a''
Common Causes
- Package state: a package installation was interrupted before dpkg finished writing its status database
How to Fix It
-
01
Refresh package index:
sudo apt update -
02
Fix broken dependencies:
sudo apt --fix-broken install -
03
Configure pending packages:
sudo dpkg --configure -a
System Administrator Emergency Kit
Stop searching for syntax under pressure. Get 100+ verified, battle-tested emergency recovery commands for Windows & Linux in one printable PDF guide.
Root Cause Breakdown
dpkg/APT constraint resolver aborted transaction.
Should You Worry?
Safe. Package manager halts to prevent further corruption.
Power-User Tip
Always run sudo apt update before attempting repair commands.
Always free