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.

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

1 Answer 1

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

 
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.