From: Tim Cross <theophilusx@gmail.com>
To: Moreno Andreo <moreno.andreo@evolu-s.it>
Cc: PostgreSQL mailing lists <pgsql-general@postgresql.org>
Subject: Re: pgdg-keyring (or apt-key) failure on fresh 9.6 install
Date: Tue, 29 May 2018 08:06:20 +1000
Message-ID: <8736ybwi3n.fsf@gmail.com> (raw)
In-Reply-To: <b0ed49de-3f3e-30dc-a0a6-22152165cb07@evolu-s.it>
References: <b0ed49de-3f3e-30dc-a0a6-22152165cb07@evolu-s.it>
Moreno Andreo <moreno.andreo@evolu-s.it> writes:
> Hi folks,
> I'm trying to install Postgresql 9.6 on a test machine in Google Cloud
> Platform
> After a fresh install with Debian 9 (just after the instance has been
> created) I follow steps from here
>
> https://wiki.postgresql.org/wiki/Apt
>
> (instead of pg 10 I install pg 9.6)
>
> During the installation process i encounter the following strange
> warnings that, even if that's a test machine, make me think twice before
> going ahead.
>
> [...]
> Processing triggers for man-db (2.7.6.1-2) ...
> Setting up pgdg-keyring (2017.3) ...
> Removing apt.postgresql.org key from trusted.gpg: Warning: The postinst
> maintainerscript of the package pgdg-keyring
> Warning: seems to use apt-key (provided by apt) without depending on
> gnupg or gnupg2.
> Warning: This will BREAK in the future and should be fixed by the
> package maintainer(s).
> Note: Check first if apt-key functionality is needed at all - it
> probably isn't!
> OK
> Setting up xml-core (0.17) ...
> [...]
>
> I have to say that installation is successfully and database server goes
> up and apparently with no problems at all.
>
This looks like a warning for the package maintainers regarding ensuring
the package depends on either gnupg or gnupg2 and nothing you need to
worry about unless you are building/maintaining deb packages for postgres.
The Debian package manager, apt, uses gpg keys to verify the
authenticity of packages it downloads. My guess is that previously, you
only needed to ensure the package had a dependency on apt-key and now
apt has/is changing such that you need to have an explicit dependency on
either gnupg or gnupg2.
--
Tim Cross
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: theophilusx@gmail.com, moreno.andreo@evolu-s.it
Subject: Re: pgdg-keyring (or apt-key) failure on fresh 9.6 install
In-Reply-To: <8736ybwi3n.fsf@gmail.com>
References: <b0ed49de-3f3e-30dc-a0a6-22152165cb07@evolu-s.it> <8736ybwi3n.fsf@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox