mastodon@glaceon:/etc/apt/sources.list.d$ sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
This script will enable the PostgreSQL APT repository on apt.postgresql.org on
your system. The distribution codename used will be focal-pgdg.
Press Enter to continue, or Ctrl-C to abort.
Writing /etc/apt/sources.list.d/pgdg.list ...
Importing repository signing key ...
OK
Running apt-get update ...
Ign:1 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease
Err:2 http://apt.postgresql.org/pub/repos/apt focal-pgdg Release
404 Not Found [IP: 2a04:4e42:200::820 80]
Hit:3 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
Hit:4 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Hit:5 http://mirrors.digitalocean.com/ubuntu focal InRelease
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:7 http://mirrors.digitalocean.com/ubuntu focal-updates InRelease
Hit:8 http://mirrors.digitalocean.com/ubuntu focal-backports InRelease
Hit:9 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Hit:10 http://ppa.launchpad.net/mamarley/quassel-git/ubuntu focal InRelease
Reading package lists... Done
E: The repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdg Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
you fucking added it
@monorail https://docs.joinmastodon.org/admin/install/#postgresql