From: | Christoph Berg <myon(at)debian(dot)org> |
---|---|
To: | "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org> |
Cc: | radu(at)matasaru(dot)net, pgsql-www(at)lists(dot)postgresql(dot)org |
Subject: | Re: [PATCH] replaced deprecated apt-key usage |
Date: | 2023-08-16 21:07:25 |
Message-ID: | ZN06jf2voC26BKFC@msg.df7cb.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2023-08-16 23:38:58 | Re: Wiki editor request |
Previous Message | Akshat Jaimini | 2023-08-16 02:15:44 | Re: [PATCH] Inbuilt URL validation for dynamic content generated by users. |