Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem Top ((full)) «Easy»
As a last resort (use carefully):
Restarting your computer while an update is running in the background.
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. As a last resort (use carefully): Restarting your
If dpkg completes but your front-end package manager ( apt ) still reports issues, the package dependency tree might be fractured.
By running sudo dpkg --configure -a , you can almost always fix the interrupted dpkg error and get your system back to normal. If you share with third parties, their policies apply
The dpkg was interrupted message looks intimidating, but it is simply Linux doing its job to protect your system from software conflicts. In 95% of cases, running sudo dpkg --configure -a will instantly resolve the issue. If lock files get in your way, clear them out manually, force a dependency fix, and your package manager will be back to normal.
As the error message explicitly states, the first line of defense is to tell dpkg to pick up where it left off and configure all partially installed packages. Open your terminal ( Ctrl + Alt + T ). Run the following command: sudo dpkg --configure -a Use code with caution. Enter your sudo password when prompted. If dpkg completes but your front-end package manager
If you are still seeing errors (e.g., subprocess new pre-installation script returned error exit status 1 ), you might need to identify the specific broken package and fix it. 1. Identify the Broken Package dpkg -l | grep "^r" Use code with caution.
If Step 1 gives you an error like Could not get lock /var/lib/dpkg/lock-frontend , another process (like an automatic update) is using the database. to see if the background process finishes.
sudo rm /var/lib/dpkg/lock-frontend sudo rm /var/lib/dpkg/lock sudo rm /var/cache/apt/archives/lock