The Problem [exclusive] — Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct
To prevent this error in the future, avoid the following during an update:
Check that /var/lib/dpkg/ has the correct permissions:
The error "dpkg was interrupted" means that a previous dpkg operation was abruptly stopped before it could finish. This could happen due to: To prevent this error in the future, avoid
If you found this guide helpful, share it with fellow Linux users. For more troubleshooting tips, check our other articles on dpkg, apt, and system maintenance.
The recommended solution to resolve the "dpkg was interrupted" error is to manually run the command: The recommended solution to resolve the "dpkg was
Then try to reconstruct the status file using dpkg ’s log:
sudo grep -i "interrupt" /var/log/dpkg.log check our other articles on dpkg
sudo apt update
-a (or --pending ): Tells it to process pending packages currently in that broken state.
sudo kill -9 PID
Below are advanced troubleshooting steps to try if the basic fix fails.