Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fNaq9-0006zh-Rj for pgsql-general@arkaria.postgresql.org; Tue, 29 May 2018 09:22:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fNaq8-0003dg-LP for pgsql-general@arkaria.postgresql.org; Tue, 29 May 2018 09:22:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fNaq8-0003dX-Dy for pgsql-general@lists.postgresql.org; Tue, 29 May 2018 09:22:48 +0000 Received: from evolu-s.it ([94.23.66.144] helo=smtp.evolu-s.it) by magus.postgresql.org with smtp (Exim 4.89) (envelope-from ) id 1fNaq5-0003fb-1I for pgsql-general@lists.postgresql.org; Tue, 29 May 2018 09:22:47 +0000 Received: from [192.168.1.19] ([79.6.30.247]) by smtp.evolu-s.it ; Tue, 29 May 2018 11:22:42 +0200 Subject: Re: pgdg-keyring (or apt-key) failure on fresh 9.6 install To: pgsql-general@lists.postgresql.org References: <8736ybwi3n.fsf@gmail.com> From: Moreno Andreo Message-ID: <65afb22a-995e-d53a-7b72-1a7020d2df40@evolu-s.it> Date: Tue, 29 May 2018 11:22:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <8736ybwi3n.fsf@gmail.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Content-Language: it List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Tim, Il 29/05/2018 00:06, Tim Cross ha scritto: > Moreno Andreo 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. Brilliant. That's what I needed to know. Just to avoid bitter surprises in the future... :-) > > 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. > ... so if I update/upgrade this instance in the future it will be automatically fixed (and there shouldn't be issues), right? Thanks a lot! Moreno.-