ppa-purge

Jarno Suni j_suni at yahoo.co.uk
Tue Dec 27 10:28:42 UTC 2016


> On Tuesday, December 6, 2016 6:16 PM, Jarno Suni <j_suni at yahoo.co.uk> wrote:

> >>  On Tuesday, November 29, 2016 9:11 PM, Jarno Suni 
> <j_suni at yahoo.co.uk> wrote:
> 
> 
>>  >>  On Tuesday, November 29, 2016 6:44 PM, Jarno Suni 
>>  <j_suni at yahoo.co.uk> wrote:
>> 
>> 
>> 
>>>   "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.


Oh, the URL form is documented by --help, but not in manual in 14.04, though.
 
>> 
>>  If removing Ubuntu components such as 'multiverse' or 
>>  'backports' is supposed to be supported, some user interface 
> changes are 
>>  inevitable.
> 
> 
> I think usage like this could be good:
> 
> ppa-purge [options] { [ ppa:<ppaowner>[/<ppaname>] | 
> <URL> [ [component] ... ] ] | [component] ...  }
> 
> 
> ppa:* form is reserved strictly for PPAs. Other repositories can be given in URL 
> form (i.e. http://*). And all given components (such as trusty-proposed) must 
> match for the repository to purge. I have created bash completion that works 
> pretty well with this syntax.


Actually trusty-proposed is called a distribution in Debian terminology (https://wiki.debian.org/SourcesList). add-apt-repository can add a component (such as multiverse), but not a distribution for some reason. I decided to implemented ppa-purge so that it can purge a distribution instead of component(s). You can remove packages of components by other means (like by synaptic).




More information about the Ubuntu-devel-discuss mailing list