Alternative to manually install 3rd party repositories
There is an alternative to manually manage repositories and keys and that is to use extrepo
extrepo is a curated list of 3rd party repositories and keys and it's a debian package.
It's only been around a couple of years so I don't know how widely used it is yet.
Installation
To install it run
apt install extrepo
Add repository
To add postgreSQL repository for example:
extrepo enable postgresql
Disable repository
To disable a repository, for example:
extrepo disable postgresql
Where do files go?
extrepo puts apt config files in /etc/apt/sources.list.d as you would manually but manages keys in it's own directory /var/lib/extrepo/keys
Repositories available
Currently these repositories are in there:
anydesk
apertium-nightly
apertium-release
bareos
belgium_eid_continuous
brave_beta
brave_nightly
brave_release
caddyserver
consol
debian_official
dns-oarc
docker-ce
edge
elbe
eturnal
eyrie
fai
feistermops
gitlab_ce
gitlab_ee
gitlab_runner
google_chrome
google_cloud
grafana
grafana_beta
grafana_enterprise
grafana_enterprise_beta
haproxy-2.8
i2pd
janitor
jellyfin
jenkins
jitsi-stable
kea
keybase
kicksecure
kicksecure_developers
kicksecure_proposed
kicksecure_testers
lihas
liquorix
matrix
mobian
msteams
neurodebian_software
newrelic
nginx
node_12.x
node_14.x
node_16.x
node_18.x
notesalexp
ooni
openmodelica-contrib-nightly
openmodelica-contrib-release
openmodelica-contrib-stable
openmodelica-nightly
openmodelica-release
openmodelica-stable
openstack_antelope
openstack_zed
openvpn
opera_stable
opsi
passbolt
postgresql
prosody
proxmox-ceph-quincy
proxmox-pve
proxmox-pve8
r-project
raspberrypi
raspbian-addons
realsense
rspamd
signal
skype
slack
speedtest-cli
spotify
steam
surface-linux
sury
syncevolution
syncthing
teamviewer_default
teamviewer_preview
torproject
trinity
vector
vscode
vscodium
weechat
whonix
whonix_developers
whonix_proposed
whonix_testers
winehq
wire-desktop
wire-internal-desktop
wtf
wtf-lts
x2go
x2go-extras
x2go-lts
x2go-nightly
xpra
xpra-beta
yarnpkg
zammad
zulu-openjdk