Skip to content

Solved: package is in a very bad inconsistent state

you may need to manually remove the package using:

sudo dpkg --purge --force-all package

Replace package with the name of the package.

Do note: its recommended to report a bug if the package is not yours or is unknown to you what the script does.

https://askubuntu.com/questions/48014/how-force-remove-when-post-installation-script-always-fail