Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I upgrade from one version of Ubuntu to the next, the upgrade tool rightly disables all my PPAs, so that software compiled for or otherwise tied to the old version of Ubuntu does not interfere with the new version that I just upgraded to.

Is there any way to automatically re-enable and update any PPAs that provide packages for the new version of Ubuntu? For example, suppose I'm currently running Maverick, and I have two PPAs enabled, "foo" and "bar". Suppose that "foo" provides packages for both Maverick and Natty, while "bar" provides packages for Natty only. Is there a tool I could run after updating to Natty that would re-enable my "foo" PPA and update it to point to the Natty packages, while leaving the "bar" PPA disabled?

share|improve this question
This is not an answer to your question (I don't know of any such tool), however David Callé has created a small script that shows which versions of Ubuntu are supported by your (enabled) PPAs: – htorque May 15 '11 at 7:32
up vote 20 down vote accepted

There is a tool called Y-PPA-Manager that lets you do exactly that.

To try Y-PPA-Manager, you need to run the following commands in a terminal:

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager

After installing, run the software and click on 'Advanced' button.

enter image description here

After clicking on that button, you would come up with a window similar to the one below. Click on 'Re-enable working PPAs after Ubuntu upgrade'.

enter image description here

You would then be prompted for your password. Enter your password and click OK. After that, you would get a dialog box like this:

enter image description here

Click OK and wait till all the working PPAs are re-enabled. When the entire process is successfully completed, you would be notified.

share|improve this answer
Does it selectively enable only PPAs that actually exist for the upgraded version of Ubuntu? – Ryan Thompson Jan 4 '12 at 17:28
It will scan for all PPAs that are disabled and re-enable those that only work (meaning those PPAs that exist) for the upgraded version. If it doesn't, then it should be filed as a bug on the software. – jokerdino Jan 5 '12 at 7:04
Ok, that sounds like exactly what I asked for. I'll have to try it out next upgrade cycle. – Ryan Thompson Jan 5 '12 at 8:29

Your Answer


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.