Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem ((exclusive)) Page

In short: don't panic. Your system isn't broken; it's just waiting for you to give it the "all clear" to finish its previous job. Did you encounter this error while installing a specific app , or did it happen during a system update

Let’s imagine you’re trying to install nodejs on Ubuntu 22.04. You run:

sudo apt update

Be careful: only kill package management processes if you are sure no critical operation is underway. In short: don't panic

This can save you if corruption occurs.

Look at the column for your primary partition (usually / ). If it reads 100%, free up space immediately using these safe cleaning commands:

The immediate solution is to run the command suggested in the error message. This tells dpkg to resume and finish the configuration for all unpacked but unconfigured packages. Open your terminal (). Run the following command: sudo dpkg --configure -a Use code with caution. Copied to clipboard You run: sudo apt update Be careful: only

. This often happens due to a sudden power failure, an unexpected reboot, or manually closing the terminal during an active process. Ask Ubuntu Primary Solution

A user closes the terminal window while a command is running.

Regardless of the cause, the solution starts with the same command. If it reads 100%, free up space immediately

The error message usually tells you exactly what to do. The --configure -a flag tells dpkg to look for any unpacked packages that were never configured and finish the job. Open your terminal ( Ctrl + Alt + T ). Type the following command and hit Enter: sudo dpkg --configure -a Use code with caution. Enter your user password when prompted.

If you are a Linux user, chances are you’ve encountered a moment of panic when a terminal command goes wrong. You try to install a new package, run an update, or remove software, and suddenly, your terminal freezes. You force-close it, try to run the command again, and are greeted with this intimidating message:

sudo apt update