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

I'm testing PPAs, so I commonly use ppa-purge, that restores my default versions. But I always have problem with the ppa name. What do I need to put as argument for ppa-purge?

I always used my browser to check name on launchpad, but what about when I'm without internet and I can't start X. Org server?

For xorg-edgers I know that ppa:xorg-edgers/ppa what about others? Let's say, I know that I have PPA of X-Updates. How do I find out the name of this PPA so I could use with ppa-purge, without using browser

So the name should be something like ppa:NAME/ppa? How to get this NAME?

share|improve this question
up vote 4 down vote accepted

This command will list all the PPA repositories you have configured

grep ppa /etc/apt/sources.list /etc/apt/sources.list.d/*

Alternatively, you can check the repository of a given package

apt-cache policy [package-name]
share|improve this answer
Thanks for answer, but I still don't get the "string" I need. Line :deb lucid main #Zeitgeist PPA helps me nothing in my case... – gsedej Mar 31 '11 at 16:14
In this case the full repository name can be shortened to ppa:zeitgeist/ppa. Hope you see the pattern. – Adam Byrtek Mar 31 '11 at 21:06

I recommend using "Y PPA Manager" which has (among others) one nifty feature: it can list all packages from a ppa enabled on your computer.

share|improve this answer
He probably also meant "without using a GUI" since he mentioned xorg-edgers PPA. – LiveWireBT Jul 17 '13 at 10:43

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.