top of page

dpkg was interrupted, How to fix it ?

  • Writer: Jha Chandan
    Jha Chandan
  • Sep 26, 2021
  • 1 min read

In this blogpost we will see what is dpkg and how to fix "dpkg was interrupted".


Well, dpkg is the software that forms the low-level base of the Debian package management system. It is the default package manager on Ubuntu. You can use dpkg to install, configure, upgrade or remove Debian packages, and retrieve information of these Debian packages.

ree

Now lets see this error "dpkg was interrupted" and try to fix it.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
ree

This error is actually telling you exactly what is wrong: dpkg was interrupted as a result the package was not configured correctly.


So to fix this execute the below command and it should be able to correct itself.

sudo dpkg --configure -a
ree

If it doesn't try running, execute below command to fix the broken packages :

sudo apt-get install -f
ree

and then try to execute this command again :

sudo dpkg --configure -a
ree

Just make sure you have internet access available so that you can download any dependencies.

That's all in this post. If you liked this blog and interested in knowing more about UNIX / LINUX / AIX. Please Like, Follow, Share & Subscribe to www.ImJhaChandan.com

Comments


jc_logo.png

Hi, thanks for stopping by!

Welcome to my “Muse & Learn” blog!
Muse a little, learn a lot.✌️

 

Here you’ll find practical SQL queries, troubleshooting tips with fixes, and step-by-step guidance for common database activities. And of course, don’t forget to pause and muse with us along the way. 🙂
 

I share insights on:​​

  • Db2

  • MySQL

  • SQL Server

  • Linux/UNIX/AIX

  • HTML …and more to come!
     

Whether you’re just starting out or looking to sharpen your DBA skills, there’s something here for you.

Let the posts
come to you.

Thanks for submitting!

  • Instagram
  • Facebook
  • X
2020-2025 © TechWithJC

Subscribe to Our Newsletter

Thanks for submitting!

  • Facebook
  • Instagram
  • X

2020-2025 © TechWithJC

bottom of page