Wednesday, September 26, 2007

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

'dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem' Thats the message i got today, when i tried to run apt-get commands in terminal on my Ubuntu 7.0.4.This is second time for me and after upgrading my kernel this problem started.I was puzzled and started Googling.

Here is a magical command that saved me two times so far, which i got from ubuntu forums.It worked both times for me.

'sudo dpkg --configure -a && sudo apt-get -f install' run it in terminal without quotes.

20 comments:

Eric said...

Thank you SO much.

Do you know what this is caused by??

- Eric

TONY said...

THANK YOU, THANK YOU, THANK YOU SO MUCH.

Jon Gos said...

You, sir, are a gentleman and a scholar!

nickolas said...

thanks so much for your help

Bostera said...

Thanks...
It was very helpful.
Regards from Colombia,

Schwerin Moses said...

Thank you buddy..

SnCln said...

You are a golden god! Much thanks!

indramawan said...

thank you so much, it works well.

Prox said...

woow, thath helped a lot ;)
TNX

Matt said...

Just what the doctor ordered :) Thanks!

oguz said...

thanx a lot.

RCI - A Pay it Forward School said...

dude thanx abunch you have no idea how much this helped THANK YOU!!

Ronin said...

Great..Thanks!help a lot!

coaler73 said...

i love you. not in a gay way, tho. not that there's anything wrong with that.

Jorge Mora said...

do that but when ask me for my password
I can't type anything.
do you know why?
thx

Andrew said...

sudo dpkg --configure -a && sudo apt-get -f install

this happened

mint@mint ~ $ sudo dpkg --configure -a && sudo apt-get -f install
dpkg: parse error, in file `/var/lib/dpkg/updates/0129' near line 1:
newline in field name `#padding'
mint@mint ~ $

Tiago said...

YOU RULE!!!

A thing of beauty! Worked perfectly!

Jorge Mora: Type the pass anyway. You don't see it showing but it is there :)

Andrew: Type a command at a time.

First type: sudo dpkg --configure -a
Second type: sudo apt-get -f install

embokosolondalu said...

hi i am running ubuntu 8.04 lts. when i run sudo dpkg --configure -a this is what i get.

sudo: unable to resolve host mike-rottenapple-laptop

i do not even get to input the password.please help

razedafear said...

Hey sarvan

I typed this "sudo dpkg --configure -a" and got this error

dpkg: parse error, in file '/var/lib/dpkg/updates/0002' near line 0:
newline in field name `ig.tar.gz'

I was upgrading from 10.10 to 11 and at installing changes stages i lost power backup[ and it reeboted. :(
Plz help

Jonathan said...

you fucking indian. you crashed my system.