When I attempt to install a package on my ubuntu(10.10) server on amazon ec2 with update-alternatives" for the JRE, apt-get doesn't respond anymore.
I've been waiting now for 20 minutes on this hang with this line of text:
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode.
And if I try to stop it and restart the system. the next time I use apt-get or aptitude in any way it gives me
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
In which the command doesn't fix the problem leaving me with a broken apt-get.
Best Answer
To fix dpkg: http://lydonchandra.com/content/failure-installing-jre-java-runtime-env-ec2-ubuntu-10
I am having the same problem too, ami-00067852 ap-southeast-1a zone. What on earth is going on?