I had other similar error due to missing dependencies installed
Installing package solved it:
sudo apt-get install icedtea-7-plugin:i386
Also I had to fix some problems with overwriting files:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/i...