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.

Possible Duplicate:
Ubuntu Software Center not working; says the package catalog needs repair

It says the package catalog needs repair. I tried with this command "sudo apt-get install -f" But it says unable to correct dependencies. Why is that?

share|improve this question
add comment

marked as duplicate by hhlp, Jorge Castro, fossfreedom, RolandiXor, jrg Nov 18 '11 at 20:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

Try running sudo dpkg --configure -a from a Terminal.

share|improve this answer
    
I tried it, but it not support. –  Shalitha Vishanda Nov 13 '11 at 4:40
    
What does it say when you run that command? Please paste the full output on Pastebin. –  RobinJ Nov 13 '11 at 9:07
    
go to synaptic package manager and remove broken packages........ –  Shalitha Vishanda Nov 15 '11 at 13:23
    
Open up Synaptic -> Edit -> Fix broken packages. –  RobinJ Nov 15 '11 at 18:15
add comment

I just had the same problem, this is what fixed it for me:

  • Open your terminal and write these lines:

    sudo ldconfig
    
    sudo apt-get check
    
    sudo apt-get update
    

    (Till this moment it kept giving me the same error)

    sudo apt-get -f upgrade --fix-missing
    

    (And after this ^ line, the problem was solved)

share|improve this answer
    
go to synaptic package manager and remove broken packages........ –  Shalitha Vishanda Nov 15 '11 at 13:23
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.