Re: [PATCH] replaced deprecated apt-key usage
| От | Christoph Berg |
|---|---|
| Тема | Re: [PATCH] replaced deprecated apt-key usage |
| Дата | |
| Msg-id | ZN06jf2voC26BKFC@msg.df7cb.de обсуждение исходный текст |
| Ответ на | Re: [PATCH] replaced deprecated apt-key usage ("Jonathan S. Katz" <jkatz@postgresql.org>) |
| Список | 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
В списке pgsql-www по дате отправления: