I can't upgrade from 11.04. I've disabled all apt sources, but still I get:
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.
Update:
I found a solution at http://ubuntuforums.org/showthread.php?t=1485250 :
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? http://ubuntuforums.org/showthread.php?t=1369723
for pkg in `dpkg --get-selections | awk '$2=="install"{print $1}'`;
do sudo apt-get install -y --reinstall $pkg;
done