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

When I use the software center to install something, I get the error:

An unhandlable error occured

There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks

on using the command line:

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

I am unable to install anything. How do we fix this?

share|improve this question
Have you launched sudo dpkg --configure -a yet ? – warl0ck Apr 13 '12 at 2:49
up vote 2 down vote accepted

The error:

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

Implys that you need to try to run:

sudo dpkg --configure -a

This should fix the problem.

share|improve this answer
get dpkg: error: dpkg status database is locked by another process. I even tried killall apt-get. – yayu Apr 13 '12 at 3:00
Is anything else using APT?.. Synaptic, Software Center, Update Manager? – Uri Herrera Apr 13 '12 at 3:03
The program itself is called apt. You should look to see if you have it running anywhere else on the system as mentioned above. – philipballew Apr 13 '12 at 3:06
@yayu , You should kill the dpkg process instead of apt-get – warl0ck Apr 13 '12 at 8:11

If i am not wrong.. you have some broken packages or some dpkg didnt configure properly in your package manager.

do one thing ... open synaptic from terminal with

$sudo synaptic

, then go to status and then broken packages. Right click on package that is broken. Click on Complete remove. Hope you will resolve it.

Or share your pu

dpkg --configure -a

share|improve this answer

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.