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 have an amazon micro instance which runs one or two things for me. The config is minimal, it mainly acts as a host for a java application and couchdb.

I tried to install curl today and got this message:

sudo apt-get install curl
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

So I ran the command using sudo:

sudo dpkg --configure -a
Setting up openjdk-6-jre-headless (6b20-1.9.1-1ubuntu3) ...

and it's been hanging there for a looooooong time. Top reports that a java process is using just about all of my CPU. Any ideas what this problem is and how I can fix it? Any ideas on what caused the issue?

share|improve this question

You're running into bug 634487.

The work arounds are:

  • use x86_64 instance type
  • stop instance, start as m1.small, dpkg --configure -a, stop, start as t1.micro
share|improve this answer
I'm not really sure how to start the instance 'as' an m1.small. Can you do that with the web console? – Pieter Breed Nov 29 '10 at 7:50

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.