After installing some apps I am getting this error while trying to upgrade :
package is in a very bad inconsistent state;
you should reinstall it before attempting configuration
its happening for sudo apt-get autoremove
too. I tried solutions given in this link.
Please Help me.
NOTE: This error is occurring after installing GIMP, WINE , Playonlinux , and reinstalling of Mozilla (I did all these continuously one after the other so I don't know specifically.)
sudo apt-get install --reinstall djview-plugin
and then check..