apt-add-repository on 22.04
Bret Busby
bret at busby.net
Mon May 9 19:51:41 UTC 2022
On 10/5/22 3:46 am, Oliver Grawert wrote:
> hi,
> Am Dienstag, dem 10.05.2022 um 03:20 +0800 schrieb Bret Busby:
>>>
>>
>> Why not simply use a text editor, such as vi, to add the suppository
>> to
>> the .etc/apt/sources.list file?
>>
>> sudo vi /etc/apt/sources.list
>>
>> Simple.
>>
>
> that only adds the sources.list entry but not the required keys to the
> keyring ... and it also mangles the main sources.list which is not
> really encouraged since a decade anymore, instead you should drop a
> file into /etc/apt/sources.list.d (which add-apt-repository actually
> does for you along with registering the keys) ...
>
> ciao
> oli
>
>
When the keys become superseded, will having the suppository in a
separate file, cause the keys to automatically be updated as needed?
--
Bret Busby
Armadale
West Australia
(UTC+0800)
..............
More information about the ubuntu-users
mailing list