PDA

View Full Version : [ubuntu] E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct



polukas
November 21st, 2009, 06:42 AM
after typing
sudo dpkg -configure a
dpkg: unknown option -o
get the following message
Type dpkg --help for help about installing and deinstalling packages
;
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --licence for copyright licence and lack of warranty (GNU GPL)
.

Options marked
produce a lot of output - pipe it through `less' or `more' !
which option to chose to fix i've run both update and upgrade and still can't fix it
any ideas outhere?

raymondh
November 21st, 2009, 06:54 AM
after typing
sudo dpkg -configure a


sudo dpkg --configure -a

I hope you just had a typo :)

darco
November 21st, 2009, 06:56 AM
Unless its a typo, you need to add 2 dashes --
sudo dpkg --configure -a


darco

bossbruin
December 11th, 2009, 07:12 AM
I had same problem and after opening terminal and running "sudo dpkg --configure -a" the problem was solved. It took a while and a couple of restarts but everything seems to be fine now.