Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So here is my story...

I was doing upgrades to ubuntu the other day, and the power went out right in the middle of the upgrade, so now when I try to do upgrades it keeps asking me if I want to do a partial upgrade. I have heard this is bad and should be avoided, I also know there is a way to fix this via the command line, but I can't remember how, nor can I find anything on the internet.

Any help would be appreciated. Thanks alt text

share|improve this question

3 Answers 3

up vote 13 down vote accepted

looks like sudo dpkg --configure -a is the magical command.

share|improve this answer
usually that fixes it all, if it doesn't try firing up synaptic, or do sudo apt-get install aptitude, and then sudo aptitude (should have a gtk gui with Maverick). aptitude is usually better at finding/fixing the problems. –  RolandiXor Dec 7 '10 at 3:33
Doesn't have noticeable effects on my box. Still offers a partial upgrade. –  tutuca Apr 27 '13 at 1:05

I'd suggest trying this:

sudo apt-get install aptitude
sudo aptitude update
sudo aptitude dist-upgrade

Solved the issue for me, probably will work for you as well.

share|improve this answer

I had the same problem. What I did was, obtain the list of packages from sudo apt-get upgrade. In my case:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Then I installed the "not upgraded" packages with sudo apt-get install linux-generic linux-headers-generic linux-image-generic and problem solved.

share|improve this answer
You could also have done sudo apt-get dist-upgrade. –  Seth Mar 9 '13 at 15:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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