Sunday, June 4, 2017

Fix "package is in a very bad inconsistent state" error

dpkg: error processing package libllvm4.0:i386 (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Errors were encountered while processing:
 libllvm4.0:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)



sudo apt-get install -f --reinstall libllvm4.0:i386