apt-add-repository on 22.04

Grizzly Real_Grizz_Adams at yahoo.co.uk
Tue May 10 05:21:48 UTC 2022


09 May 2022  at 17:42, Keith wrote:
Re: apt-add-repository on 22.04 (at least in part)

>FYI, apt-add-repository is a symlink to add-apt-repository which installed by
>the software-properties-common package. 

Thanks for that, I'll (when it's warm enough for monitor) check it out, and 
adjust scripts to suit

>Just one part of the utility is being deprecated, not the whole thing. Mainly
>the autodetection of a source given on the command-line. Basically, admins
>will have to be more specific about the type of sources that
>add-apt-repository will add to sources.list, or sources.list.d. 

>If it's a URI, then you'll need to precede it with a -U. If you specify
>components with that then you need to precede each of those with a -c.
>Manpage explains it all. Despite being deprecated, the autodetection will
>still work for the life of jammy (5 years) so you won't have to update your
>scripts just yet. 

>Keith





More information about the ubuntu-users mailing list