apt-add-repository on 22.04
Bret Busby
bret at busby.net
Mon May 9 19:20:12 UTC 2022
On 10/5/22 2:00 am, Grizzly via ubuntu-users wrote:
> Hi All
>
> Another problem I found it seems that
>
> apt-add-repository
>
> has been depreciated, is there an easy way to keep the various app's that need
> repo's updated, over time I have made a lot of bash files with
>
> sudo apt-add-repository "repo"
> sudo apt install -y "app from repo"
> sudo apt-add-repository --remove "repo"
>
> but now non work, I can see it may be a way to force users to use snap, but
> even for those who want that and can live with the extra load time (like for
> FireFox) there are still many apps that are not snaps
>
>
>
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.
--
Bret Busby
Armadale
West Australia
(UTC+0800)
..............
More information about the ubuntu-users
mailing list