ppa-purge

Jarno Suni j_suni at yahoo.co.uk
Tue Nov 29 16:44:28 UTC 2016


Furthermore AFAIK PPA means an APT repository hosted at 'http://ppa.launchpad.net'. However, ppa-purge allows removing repositories hosted in other servers using the ppa form: e.g. 

sudo ppa-purge -s dl.google.com ppa:linux/chrome
or shortly
sudo ppa-purge -s dl.google.com linux/chrome
will catch debline
'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main'.
For the previous case
ppa-purge -s dl.google.com -o linux -p chrome
works, too. So user gives 'linux' as PPA owner and 'chrome' as PPA name. 
Do these confuse users?

Bash's tab completion works pretty well with the previous ones, except maybe with 'ppa:' form, since the colon seems to cause some problems probably due to being treated as word separator. I am not sure, is it worth messing with 
COMP_WORDBREAKS variable, though.

"debline" form that add-apt-repository supports, and URL form that add-apt-repository supports, too, but that is undocumented, are not currently supported by ppa-purge.

I suppose having GNU style long options would make it easier for users to use tab completions (and not that much help/manual).




More information about the Ubuntu-devel-discuss mailing list