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 1fNQHr-0003uo-Qc for pgsql-general@arkaria.postgresql.org; Mon, 28 May 2018 22:06:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fNQHp-0001Xt-Q7 for pgsql-general@arkaria.postgresql.org; Mon, 28 May 2018 22:06:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fNQHp-0001Xj-Bw for pgsql-general@lists.postgresql.org; Mon, 28 May 2018 22:06:41 +0000 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fNQHh-0001SE-Kx for pgsql-general@postgresql.org; Mon, 28 May 2018 22:06:39 +0000 Received: by mail-pg0-x241.google.com with SMTP id w3-v6so5698143pgv.12 for ; Mon, 28 May 2018 15:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=XOmEfmE0Tr4FFcPnU3erMoRjHpxO9MJ0LGIzMJfj6Qo=; b=RsM52UFdEkY0KHNqcIBPDVBQ2DREhmOJ5ioQZRXrF39EpC+FL+MRfhG+7jChlv9/y+ Ua3s9bFLn7S0InkhpCeN0LBSFcwlwVzB52jnqWYG4NnAmnJTtR/RR+Ytn1/r9AdYiYdB tsVKvNsYVVT+TUcMOgwxMd/jDQebHVaMXateU6HDHNNhds2b8Wf4SZqD6WRrftzTQ8bs einBRgdsxGc3g/WNgZNfmhGDrSlbhJTxblhwSQM5Dl3E6891p/U4tUn91R6SbHJHi3/R zge0/FblvcPtQ3CMjfevyrm+Yvi39ycMcTeYF+RyYUzfjQldAPl85NfiFZ3v6yQI5YXv NvGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=XOmEfmE0Tr4FFcPnU3erMoRjHpxO9MJ0LGIzMJfj6Qo=; b=OqFVL8CRpOh4JiqmUAmaE0T4X9XqVV0VIzivUwiI3f+C3MlOgILUWdIbkyu6l/cVb4 o/BrQ/2DbjdaGHmecP5HjufGpw6/jKSGjiaMm4WD8Tl6lg4A/j5pPbaumku3r50rWo9x lC34W393nIHdw61VfGes3yAAVivgJdKFKQnOIgz8zfGWjJ8QgavdS861Yr/49lisGCrF BetGuR0XKufI99SeCoeRNoHOzJC4Y1/+1M+TEc4PbGRxTTkaDp4zglkX7vYMmZaducZL s4ynyimJ2COe7fgP9oNwBmocFCmRF/DovgPLfBdGpVxPBHvGW50APYfG5mFvsfVEtp3p J2jA== X-Gm-Message-State: ALKqPwdwqbNUkTX199c/3ZW0XUigyDca2I7bCj5SEIi+dYMx2IhTfiDV c3ivyrbirG5U5vWnW+F1ruq6O86K X-Google-Smtp-Source: AB8JxZpt6FZk1o+HKjmsFPzxk0wvqEi1tKQnNqL+tdTx/VZnMjRIMLam5WfI0HmdBNHLvoizevVBMQ== X-Received: by 2002:a62:481d:: with SMTP id v29-v6mr14884379pfa.57.1527545191676; Mon, 28 May 2018 15:06:31 -0700 (PDT) Received: from tim-desktop (2001-44b8-31f2-bb00-5920-a0ad-df51-3545.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:5920:a0ad:df51:3545]) by smtp.gmail.com with ESMTPSA id c83-v6sm61497849pfc.111.2018.05.28.15.06.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 May 2018 15:06:30 -0700 (PDT) References: User-agent: mu4e 0.9.18; emacs 26.1 From: Tim Cross To: Moreno Andreo Cc: PostgreSQL mailing lists Subject: Re: pgdg-keyring (or apt-key) failure on fresh 9.6 install In-reply-to: Date: Tue, 29 May 2018 08:06:20 +1000 Message-ID: <8736ybwi3n.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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. 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