Dpkg Was Interrupted You Must Manually Run Sudo Dpkg Configure To Correct The Problem 2021 -

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.

sudo dpkg --configure -a

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status

Use only if you understand dependency implications. If you found this guide helpful, share it

If you have multiple terminals open, or a background apt process is stuck, you may need to terminate it.

The dpkg status file ( /var/lib/dpkg/status ) keeps a record of installed packages. If it gets corrupted, dpkg --configure -a may fail. You can restore it from a backup:

sudo dpkg --configure -a sudo apt --fix-broken install If you have multiple terminals open, or a

The error message itself is unusually helpful. It literally tells you what command to run:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem The Broken Bridge

Wait for it to finish. It may take a few seconds or several minutes, depending on how many packages were interrupted. You can restore it from a backup: sudo

After removing the locks, run the configuration command again: sudo dpkg --configure -a Use code with caution. Step 3: Force Repair Broken Dependencies

After this, immediately run: