Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am getting this while installing libebml3:

Errors were encountered while processing:
Error in function: 
dpkg: error processing libebml3:i386 (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.

How can I fix this?

share|improve this question

Since I happend to have the a problem with another package, wanting a reinstall, and all the methods in the answers either do nothing or first uninstall all the system before reinstalling, I ended up with a solution using aptitude (of course, there must be another solution to force reinstalls without using aptitude).

sudo aptitude reinstall libebml3:i386
share|improve this answer
Good, unless you need to reinstall a package that aptitude depends on (like libboost_iostreams). – Tomasz Gandor Mar 2 at 9:57
dpkg -r libebml3:i386
sudo apt-get update
sudo apt-get install -f
sudo apt-get upgrade

do those steps in terminal .

share|improve this answer

Type following commands in a terminal (Press Ctrl+ALT+t):

sudo dpkg -p libebml3:i386
sudo apt-get update
sudo apt-get install -f
share|improve this answer

You could remove the program by entering the following commands in a terminal:

sudo apt-get purge remove libebml3
sudo apt-get install libebm13
sudo apt-get update
sudo apt-get upgrade
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.