Jump to content

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

Fixing the "dpkg was interrupted" Error in Linux If you’ve been managing a Debian-based system like Ubuntu, Linux Mint, or Kali, you’ve likely encountered this daunting terminal message:

  1. Do not force-kill dpkg – Allow it to finish, even if slow.
  2. Avoid power loss during updates – Use a UPS or laptop battery.
  3. Run updates in a tmux or screen session – Resists terminal closure.
  4. Use apt instead of direct dpkg – APT adds safety checks.
  5. Monitor disk space – A full /var can cause silent failures.

This error occurs when a package installation or update process is forcibly stopped (e.g., due to a power outage, crash, or manual interruption), leaving the system's package database in an inconsistent state. To resolve this, follow these steps in order: 1. Run the suggested fix Fixing the "dpkg was interrupted" Error in Linux

Reconfigure the package database:

sudo apt clean sudo journalctl --vacuum-size=100M sudo rm -rf /var/cache/apt/archives/*.deb.old # careful with rm Do not force-kill dpkg – Allow it to finish, even if slow

What happens next?

You should see the system pick up where it left off. It might take a few minutes. If this runs successfully without errors, you can now run your update command ( sudo apt update ) and everything should work. This error occurs when a package installation or

  1. sudo dpkg --configure -a
  2. sudo apt --fix-broken install
  3. sudo apt update

Conclusion

×
×
  • Create New...