I add a PPA but the software does not show up in Ubuntu 11.10 updates nor Software Centre [duplicate]

Every time I add a PPA I cannot see the package I'm trying to install. I suppose I must be doing something wrong! So here's my latest effort:

In a Terminal I typed:

sudo add-apt-repository ppa:jeromerobert/misc

and that seemed to work correctly

Then I typed:

sudo apt-get update

But when I go to Synaptic or Software Center the application I want to install is not there. Could someone please tell me what I'm doing wrong?


Solution 1:

From my experience there are 3 reasons why it would not immediately show up in the repositories of Synaptic or Software Center:

  1. You added the PPA, did the repo update and immediately went to Synaptic or Software Center to see it. For some reason, it takes a little more time for the package managers to reflect on the new changes. In Synaptic for example I can see the "Refreshing Cache" option in the search box when I add a PPA and go straight to it. I have to actually wait for the refresh to finish to see the package. If I go look for it it will not show up. Same goes with Software Center, doing an apt-get update does not make the package manager show in that instant the new package you want.

  2. The PPA shows the package but you still can not see it in your package manager. This happens when the package has just been added to the PPA. For example, in my case when I updated the Wine PPA, the 1.4 was there for a whole day but I could not update to it until the next morning. For what I know, launchpad needs some time to get a package ready for download after it has been summited.

  3. Cache problems. This can be quickly solved by just rebooting the PC. It happens when you are like me and don't need to reboot the PC because.. well because is Ubuntu, I can go on for days ^^. But in general is good to reboot after doing update after update of stuff.

Hope this helps.

Solution 2:

When your adding a PPA you not only have to type the repository followed by update you need to add the package you apt name.

EXAMPLE PPA;

sudo add-apt-repository ppa:simonschneegans/testing
sudo apt-get update
sudo apt-get install gnome-pie

As you can see the last line is the name of the package I want "gnome-pie". If you can find the name of the package then you can install it.