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