Sample Header Ad - 728x90

What is the purpose for no gpgcheck in the pgdg-redhat-all.repo?

0 votes
0 answers
139 views
A repository installed from the official PostgreSQL site (/pgdg-redhat-repo-latest.noarch.rpm) has gpgcheck disabled for PostgreSQL 17 Downloads. See below.
[pgdg17-updates-testing]
name=PostgreSQL 17 for RHEL / Rocky $releasever - $basearch - Updates testing
baseurl=https://download.postgresql.org/pub/repos/yum/testing/17/redhat/rhel-$releasever-$basearch 
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
repo_gpgcheck = 1

[pgdg17-source-updates-testing]
name=PostgreSQL 17 for RHEL / Rocky $releasever - $basearch - Source updates testing
baseurl=https://download.postgresql.org/pub/repos/yum/srpms/testing/17/redhat/rhel-$releasever-$basearch 
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
repo_gpgcheck = 1
Why is that? Edit: After contacting PostgreSQL support they confirmed that it is for faster rpm builds. This issue will be corrected later.
Asked by Jakub Liška (1 rep)
Oct 30, 2023, 04:09 PM
Last activity: Nov 2, 2023, 11:04 AM