Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 16 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

you can try sudo apt-get update through this files will be updated. and then you can upgrade through terminal by typing sudo do-release-upgrade when it will ask Installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled. then press 'Y' thats all.

share|improve this answer

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.