Re: Jonathan S. Katz
> Good catch! I'd suggest we make it match what's on the
> apt.postgresql.org[1]:
>
> sudo apt install curl ca-certificates gnupg
> curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor |
> sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null
>
> etc. Thoughts?
Actually, there's an even more modern way by telling apt that a
certain repository is signed with a specific key. I've recently taught
apt.postgresql.org.sh to use that and now also updated
https://wiki.postgresql.org/wiki/Apt to use it.
And the yet better way is to not use anything external and just get
it from the distribution:
sudo apt install -y postgresql-common
sudo sh /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
Christoph