Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem
sudo dpkg --audit sudo dpkg --configure -a
Or boot into recovery and run fsck if corruption is suspected. sudo dpkg --audit sudo dpkg --configure -a Or
If you’re on a laptop, ensure you’re plugged in before starting a large dist-upgrade . due to a power outage
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 or manual interruption)
sudo dpkg --configure -a
So, in plain English: "Hey system, please take administrative control, look at all the software that is currently stuck halfway through installation, and finish setting them up."