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 open up the Software Center it gives me, "Items cannot be installed or removed until package catalog is repaired". Can someone help me?

share|improve this question
    
did you try sudo apt-get update from the terminal before installing applications from the Ubuntu Software Center –  nitstorm Oct 16 '11 at 16:25
add comment

1 Answer

up vote 5 down vote accepted

Open a terminal and use these commands

sudo apt-get install -f

sudo dpkg --configure -a

sudo apt-get update && sudo apt-get upgrade

After the last one you should be able to open your USC again without faults.

Edit

Comments explain that key 5A9A06AEF9CB8DB0 is missing, during sudo apt-get update this fault comes up:

W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9A06AEF9CB8DB0

To repair the key these commands can be used:

sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 5A9A06AEF9CB8DB0
sudo gpg --export --armor 5A9A06AEF9CB8DB0 | sudo apt-key add -

After that sudo apt-get update should work, if you get no faults on it you can open USC again and click on the repair button.

share|improve this answer
    
Still doesn't work. It gives me the same error in USC –  lieudusty Oct 16 '11 at 18:46
    
Do you get any faults at all during sudo apt-get update? Do a sudo apt-get clean and try those steps again. –  Bruno Pereira Oct 16 '11 at 19:07
    
On sudo apt-get update I got: inline W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9A06AEF9CB8DB0, –  lieudusty Oct 16 '11 at 19:09
    
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys followed by sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5A9A06AEF9CB8DB0 will do it for you I think (you have to type the 2 commands not only the last). –  Bruno Pereira Oct 16 '11 at 19:13
    
I did that and i still get the same error in USC. –  lieudusty Oct 16 '11 at 19:15
show 10 more comments

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.