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 had a program installing on Ubuntu called 'ubuntu-restricted-extras' and then my system shutdown because of powerfailure, I restarted and then tried the installation again and it comes up with a message saying "Previous Installation hasn't been completed." and then tells me that I have to repair this before I can install or remove any further software. What do I need to do to fix this?

share|improve this question

Open a terminal by hitting Ctrl+Alt+T, and type the following:

sudo dpkg --configure -a

(Enter your password when prompted.)

This will start configuring packages (applications) that were about to be installed (unpacked) but not configured. Once this is finished, open up the Ubuntu Software Center and try to install the program again (if it's not already installed).

If the above does not fix your problem, type the following in the terminal:

sudo apt-get -f install

This will attempt to download and install packages that are needed to run programs.

share|improve this answer
thanks.i am fix that problem.. – kerala May 21 '13 at 6:13
You're welcome. If my steps fixed your problem, mark my answer as "accepted" so that other people can benefit when they search for this problem. – Alaa Ali May 21 '13 at 7:41

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.