Failed rpm package signature checks with reposync

From: Bruno Lavoie <bl(at)brunol(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Failed rpm package signature checks with reposync
Date: 2018-04-25 15:22:27
Message-ID: CAD+GXYOr0r_53V_ih_ws7m_McNxcgeyc6_B5SVm9tBBbFPigEA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hello,

Don't know if I should post it to hackers list, by I'll try here first.

For many reasons, we're currently deploying a mirror for postgresql rpm
packages. And when we run reposync (yum mirroring tool) with --gpgcheck
switch some packages are removed due to failed signature check.

Command and output:
# reposync --repoid=pgdg10 --gpgcheck
--download_path=/var/www/html/centos7/repos/postgresql/

Package mysql_fdw_10-2.3.0-3.rhel7.x86_64.rpm is not signed 0% [
] 0.0 B/s | 0 B --:--:-- ETA
(1/4): mysql_fdw_10-2.3.0-3.rhel7.x86_64.rpm
| 30 kB 00:00:00
(2/4): mysql_fdw_10-debuginfo-2.3.0-3.rhel7.x86_64.rpm
| 117 kB 00:00:00
(3/4): osm2pgrouting_10-2.3.3-1.rhel7.x86_64.rpm
| 134 kB 00:00:00
(4/4): osm2pgrouting_10-debuginfo-2.3.3-1.rhel7.x86_64.rpm
| 17 kB 00:00:00
Removing mysql_fdw_10-2.3.0-3.rhel7.x86_64.rpm due to failed signature
check.
Removing mysql_fdw_10-debuginfo-2.3.0-3.rhel7.x86_64.rpm due to failed
signature check.
Removing osm2pgrouting_10-2.3.3-1.rhel7.x86_64.rpm due to failed signature
check.
Removing osm2pgrouting_10-debuginfo-2.3.3-1.rhel7.x86_64.rpm due to failed
signature check.

Here is the used .repo file:
[pgdg10]
name=PostgreSQL 10 - RHEL 7 - x86_64
baseurl=
https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64
enabled=0
gpgcheck=1
gpgkey=https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-10

Any reasons for this?

Thanks
Bruno Lavoie

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Charlin Barak 2018-04-25 15:35:17 Re: Using the public schema
Previous Message Scott Frazer 2018-04-25 14:52:47 Pulling initial physical replication pg_basebackup from a downstream server

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2018-04-25 15:48:13 Re: unused_oids script is broken with bsd sed
Previous Message Teodor Sigaev 2018-04-25 15:06:44 Re: Corrupted btree index on HEAD because of covering indexes