When I run sudo apt-get update or sudo apt-get upgrade this error appears

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

and when I run sudo dpkg --configure -a, the laptop restarts and freezes at startup when the Ubuntu word is displayed, I just force close it by the power button and then reopen it.

I use Ubuntu 14.04 LTS dual booted with windows 8.1.


1 Answer 1


Try this on terminal to remove all

cd /var/lib/dpkg/updates
sudo rm *

And then run the below command to get newer ones,

sudo apt-get update

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.