I "solved" the problem by copying the file /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/jexec to /var/lib/binfmts/jexec and after that I ran sudo dpkg --purge remove sun-java6-bin sun- java6-jre
Not to nice, it complained a lot and then it worked. Probably not recommended. -- package sun-java6-bin 6-00-2ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/122325 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs