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

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

How to Fix "dpkg was interrupted, you must manually run..." in Ubuntu and Debian

dpkg (Debian Package Manager) is the low-level tool that installs, configures, and removes .deb packages on Debian, Ubuntu, and derivatives. The message indicates dpkg was stopped mid-operation (power failure, forced shutdown, killed process, or another package tool interrupted it). Because package installation/configuration is transactional and can leave system state inconsistent, dpkg refuses to continue until you explicitly recover.

If the first command fails due to missing dependencies, run: sudo apt-get install -f Use code with caution. Copied to clipboard Clear the Lock Files How to Fix "dpkg was interrupted, you must manually run

Check disk usage:

Once the error is cleared, it is good practice to ensure your entire system is up to date and consistent: sudo apt update && sudo apt upgrade If the first command fails due to missing

sudo DEBIAN_FRONTEND=noninteractive dpkg --configure -a sudo apt install -f -y

The error message itself provides the first and most common solution. The -a flag stands for “,” meaning “finish configuring any packages that were left partially configured.” How to Fix "dpkg was interrupted

"dpkg was interrupted..." – How to Fix This Error in Linux (Step-by-Step)