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?
Asked
Active
Viewed 6,035 times
3
1 Answers
5
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.
Bruno Pereira
- 74,785
-
-
Do you get any faults at all during
sudo apt-get update? Do asudo apt-get cleanand 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-keysfollowed bysudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5A9A06AEF9CB8DB0will 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 -
-
-
Do a
sudo apt-get updateagain to check for the same fault plz and if that fault is still there do:sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 5A9A06AEF9CB8DB0followed by asudo gpg --export --armor 5A9A06AEF9CB8DB0 | sudo apt-key add -– Bruno Pereira Oct 16 '11 at 19:21 -
I had no faults when running the command
sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 5A9A06AEF9CB8DB0, andsudo gpg --export --armor 5A9A06AEF9CB8DB0 | sudo apt-key add -, – lieudusty Oct 16 '11 at 19:22 -
-
-
USCshould open. else force and upgrade withsudo apt-get update && sudo apt-get upgrade. – Bruno Pereira Oct 16 '11 at 19:26 -
After I opened it it still gives me the same error.
Items cannot be install or removed until the package catalog is repairedEDIT: Now when i clicked repair it fixes it. Thank you very much! =D – lieudusty Oct 16 '11 at 19:27 -
welcome, glad it worked. ill edit the answer to reflect all this info! – Bruno Pereira Oct 16 '11 at 19:29
-
done, tick the "checked" box if you agree with the answer. regards – Bruno Pereira Oct 16 '11 at 19:32
sudo apt-get updatefrom the terminal before installing applications from the Ubuntu Software Center – Nitin Venkatesh Oct 16 '11 at 16:25