23

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?

2 Answers 2

8

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]
4
  • 6
    Thanks for answer, but I still don't get the "string" I need. Line :deb http://ppa.launchpad.net/zeitgeist/ppa/ubuntu lucid main #Zeitgeist PPA helps me nothing in my case...
    – gsedej
    Mar 31, 2011 at 16:14
  • 3
    In this case the full repository name can be shortened to ppa:zeitgeist/ppa. Hope you see the pattern. Mar 31, 2011 at 21:06
  • 2
    @AdamByrtek how did you know that?
    – Dims
    Aug 9, 2020 at 17:06
  • 5
    Sorry to warm up this 10 years old topic. However, I am stuck at the exactly same situation, I am unable to identify the necessary "PPA name" for ppa-purge. In my case, I want to purge the official winehq stable PPA for Ubuntu 18.04? The original PPA install link was sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' Any help is welcome. ;-)
    – Clemens
    Apr 29, 2021 at 20:02
3

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.

1
  • 2
    He probably also meant "without using a GUI" since he mentioned xorg-edgers PPA.
    – LiveWireBT
    Jul 17, 2013 at 10:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .