Ubuntu – Fixing software center catalog


I'm new to Ubuntu, it looks like it is better than Windows. Last day I tried to install Kget (the download manager) but during the process my computer suddenly stopped working. So I had to switch it off. After I logged into Ubuntu again I can't install any program. The Ubuntu Software Center says:

Items cannot be installed or removed until package catalog is repaired.
Do you want to repair it now?

After I clicked repair it says (after few seconds):

Package operation fails - The installation or removal of a software package failed

I've tried several times, but the same problem occurred. Can anyone tell me a solution for this problem?

Best Answer

Open a terminal and try this command

sudo apt-get install -f

It will fix all broken packages. after this you can install any s/w you want.