Software⏱️ 3 min read📅 2026-06-11

How to Fix: Ubuntu 12.04 error message E: dpkg was interrupted

Ubuntu 12.04 error message E: dpkg was interrupted, how to fix.

Quick Answer: Run "sudo apt-get update && sudo apt-get install -f" to resolve the issue.

The 'E: dpkg was interrupted' error message in Ubuntu 12.04 indicates that the package manager, dpkg, was unable to complete its process due to an internal issue. This error affects users who are trying to install or update packages on their system.

This frustrating error can be caused by a variety of reasons such as corrupted package files, incomplete installations, or conflicts with other software. Fortunately, there are steps you can take to resolve the issue and get your system up and running smoothly again.

🛑 Root Causes of the Error

  • The primary reason for this error is that dpkg was unable to complete its configuration process due to a corrupted package file. This can happen when a package is downloaded but not fully installed, leaving behind incomplete or corrupted files.
  • Another alternative cause of this error could be due to conflicts with other software packages on the system. In some cases, a package may conflict with another package that was previously installed, causing dpkg to fail during its configuration process.

🚀 How to Resolve This Issue

Manually Running dpkg --configure -a

  1. Step 1: Open a terminal window and type 'sudo dpkg --configure -a' (without the quotes) and press Enter. This command will attempt to re-run the configuration process for all remaining packages that were interrupted.
  2. Step 2: If you encounter any errors or warnings during this process, you may need to manually edit the package files or seek additional assistance from a system administrator.
  3. Step 3: After running the command, verify that the error message has been resolved by attempting to install or update packages again.

Cleaning up Package Files

  1. Step 1: Try removing any incomplete or corrupted package files using 'sudo apt-get clean' and then 'sudo apt-get autoremove'. This may help resolve the issue by clearing out unnecessary package files.
  2. Step 2: If you have manually edited package files, delete them to ensure that dpkg has a clean slate to work with. Be cautious when editing system files as incorrect changes can cause further issues.

💡 Conclusion

To summarize, the 'E: dpkg was interrupted' error in Ubuntu 12.04 can be resolved by manually running 'sudo dpkg --configure -a', cleaning up package files, or seeking additional assistance from a system administrator. By following these steps and taking necessary precautions to avoid errors, you should be able to resolve the issue and get your system up and running smoothly again.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions