Installing Java on EC2 t1.micro work around bug #634487

When attempting to install jdk6 on amazon’s EC2 t1.micro ubuntu instance the instance suddenly stuck and there was no way around it other than rebooting it, however when I tried to do anything that included apt-get it went back to installing JDK and thus got hung up again, going through the docs online turns out this is a known bug, and there is a clean up steps that should be taken, steps that include rebuilding the dpkg status file.

I tried the steps and they didn’t so i went to my final alternative, I stopped the machine, change it to t1.small and started it up, I typed in the #dpkg –configure -a and it worked like a charm, finally I stopped the machine again and started it as t1.micro.

Problem solved.

Bug report

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/634487

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s