public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Cassidy <[email protected]>
To: [email protected] <[email protected]>
Subject: APT repository instructions
Date: Tue, 16 Aug 2022 14:29:17 +0000
Message-ID: <[email protected]> (raw)

Hi,

Thanks for all the work you guys put in to maintain the deb packages
for postgres!

Is there somewhere where updates/changes to the APT repository
documentation can be submitted?

I can see various differing instructions at:
https://wiki.postgresql.org/wiki/Apt
https://wiki.postgresql.org/wiki/Apt/FAQ
https://apt.postgresql.org/pub/repos/apt/README
https://salsa.debian.org/postgresql/postgresql-common/raw/master/pgdg/apt.postgresql.org.sh

From a quick glance, it looks like the instructions are out of date in
some places and could do with some updating. See
https://blog.cloudflare.com/dont-use-apt-key/ for reasons why.

In short, the gpg key symlink should be moved from
/etc/apt/trusted.gpg.d/ to /usr/share/keyrings/ and the
sources.list.d/pgdg.list should be updated to read:

deb [signed-by=/usr/share/keyrings/apt.postgresql.org.gpg]
https://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main


Thanks,
Tom


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: APT repository instructions
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox