BUG #19008: Problems downloading metadata for dnf - probably missing private key (GPG signature)

PG Bug reporting form <noreply@postgresql.org>

From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: thomas.ruf@msg.group
Date: 2025-08-04T08:34:38Z
Lists: pgsql-bugs
The following bug has been logged on the website:

Bug reference:      19008
Logged by:          Thomas Ruf
Email address:      thomas.ruf@msg.group
PostgreSQL version: 16.0
Operating system:   Rocky Linux
Description:        

Hello together,

I hope, this is the right spot. In my deployment, I catch an error
constructing metadata for dnf.

msg: 'Failed to download metadata for repo ''pgdg16'': repomd.xml GPG
signature verification error: gpgme_op_verify() error: No data'

I went to the url, where it should download this metadata and I find an
empty repo.xml.asc.
(https://download.postgresql.org/pub/repos/yum/16/redhat/rhel-9-x86_64/repodata/)

Going to the respective repos for version 15 and 17, there is a repo.xml.asc
file containing a PGP signature.

This seems unintended. A change to repo.xml.asc in version 16 was made on
03-Aug-2025 15:33.

I would be happy for remediation,

Thanks,

Thomas