Dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem Error in Kali Linux [ Solution that Might Work]

Dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem Error in Kali Linux [ Solution that Might Work]

dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem this is what the message i got when trying to install updates to Kali linux latest version how to fix it.? Before i go for the solution, i know few of you reading this blog had couple of doubts on whether i'm still alive as the number of posts that i wrote has reduced a lot from days to Months to now years. A Big Sorry! As i'm getting busy with the so called life on the other end, i'm unable to focus much on writing posts. then why all of sudden this post about

dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem 

 error message.? simple, the answer is when i read the emails (which of-course, some readers of this site still do) this is the question i got from many of blog readers. I thought of coming back with New Year wishes for 2023 post but decided this needs to be addressed before that! So, this post.


First things first, as usual when we start writing solutions we explain what might be the root cause in other words, what could have likely happened?  Well, it depends! But for me i usually will face this problem whenever i force stop the updates that is getting installed because of power failure or killing terminals/windows executing commands. 

sudo apt update -> System checks for updates  -> Fetches latest updates and shows that it can be installed -> sudo apt full-upgrade -y ->

dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

So, how to fix this issue?

Simple, just run the command as root. it will fix the issue.

But before that, clean your apt's and dpkg's by running this command if required..

Type this on terminal and hit enter: Sudo rm -rf /var/lib/apt/lists/ 

Type this on terminal post running above command (Optional) : /var/lib/dpkg/updates 

Now, type dpkg --configure -a  on the terminal and hit enter. 

That's it.. You can see your Updates installing/starting with setting up something that was left as it is.. Post this, you can run sudo apt full-upgrade -y command as you used to be! it will work.

 Enjoy.!