Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem [better] [ 1000+ PRO ]
sudo kill <PID> sudo kill -9 <PID> # only if gentle kill fails
It means a previous dpkg operation (like installing or configuring a package) was unexpectedly stopped or crashed. This leaves dpkg in an inconsistent state, and apt refuses to run until it’s fixed. sudo kill <PID> sudo kill -9 <PID> #
: Sometimes the interruption leaves missing pieces. Run this to let the system fetch what is needed: sudo apt-get install -f sudo kill <
sudo dpkg --configure -a
If the interruption left dependencies in a messy state, use the APT repair tool : sudo apt-get install -f # OR sudo apt --fix-broken install Use code with caution. Copied to clipboard sudo kill -9 <