Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I use a lot of PPA's. I'd like to check if all of them have packages for Saucy before updating.

Is there a program which checks whether my PPAs have packages for a different version of Ubuntu?

share|improve this question
up vote 5 down vote accepted

This can be scripted... It'll need altered versions of two of my previous answers: one to get a list of all the PPAs and another to check if a URL is live. With those two techniques we can build a real launchpad URL and test it.

ppas=$(grep -RoPish "[^/]+/[^/ ]+" /etc/apt | sort -u)
while read -r ppa; do
    if [[ $(wget -O /dev/null "$url" 2>&1|grep "200 OK"|wc -l) == "0" ]]; then
        echo "$ppa does not have a $dist version"
done <<< "$ppas"

It's an ugly script but it's so beautiful at the same time.

share|improve this answer
Very nice (takes a while, though). If this is ugly then the script I was working on was downright horrible. Thanks! – minerz029 Oct 25 '13 at 23:23
Hm, it was quite fast here. Took 1.9 seconds for 27 PPAs. – Oli Oct 25 '13 at 23:26

I don't know of any software to do that, but from the PPA's webpage it is easy to check, by deploying the list in section "Overview of published packages" (see the image below).

published packages

Click to see a higher-resolution image.

If you use really a lot of PPAs, this can get tiring.

Perhaps an internet crawling script might help? With that I couldn't help you much, though.

Image taken from this Q&A in

share|improve this answer
Yes, that's an option but I do have a lot of PPA's. I might write a script myself for this. Thanks for your help. – minerz029 Oct 25 '13 at 22:50
Please share your script when you are done! – carnendil Oct 25 '13 at 22:57

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.