Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers 2

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
add comment

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
add comment

Your Answer

 
discard

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.