Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I can't upgrade from 11.04. I've disabled all apt sources, but still I get:

Synaptics screenshot

The only option I am capable doing is to format and reinstall whole system, which I don't prefer as I have tuned a lot of apps settings, etc.

How can I fix this?

Update: After restart, when trying to update all packages, I get this error:

installArchives() failed: dpkg: error processing flashplugin-nonfree (--remove): Package is in very bad, inconsistent state - before trying to remove rather reinstall it.

Reinstalling it results in the same error.


I found a solution at :

sudo rm /var/lib/dpkg/info/flashplugin-nonfree.prerm

sudo dpkg --remove --force-remove-reinstreq flashplugin-nonfree
sudo dpkg --purge --force-remove-reinstreq flashplugin-nonfree

But after doing that, the result is still the same.

Update: Should I do what I found?

for pkg in `dpkg --get-selections | awk '$2=="install"{print $1}'`;
  do sudo apt-get install -y --reinstall $pkg;
share|improve this question
Seems it's time to install from a scratch... – Ondra Žižka Oct 16 '12 at 4:38

1 Answer 1

Did you try sudo dpkg --configure -a. Also, you can try sudo apt-get update --fix-missing, it's a very basic answer, but it may help.

share|improve this answer
Tried... still the same. – Ondra Žižka Sep 22 '12 at 11:19
Maybe you should try dpkg --get-selections | awk '$2=="install" { system ("sudo apt-get install -y --reinstall " $1) }, from what I read and understand (I'm not a native English speaker) , it will reinstall all the packages, and It will take a very long time, but it's worth trying it (I read it on the link you provided). – Alex Spataru Sep 22 '12 at 21:16

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.