PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID16362
PG Version12.2
OSCentOS7
Opened2020-04-14 17:12:47+00
Reported byJordi Prats
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      16362
Logged by:          Jordi Prats
Email address:      (redacted)
PostgreSQL version: 12.2
Operating system:   CentOS7
Description:        

Hi,
By installing the postgres yum repo you end up with a corrupted repo list,
pgdg12-source is defined twice:

[root@ip-172-31-6-198 ~]# cat /etc/yum.repos.d/pgdg-redhat-all.repo | grep
"\[pgdg12-source\]"
[pgdg12-source]
[pgdg12-source]

Looks like a mistake generating this file since the baseurl is different:

# PGDG Red Hat Enterprise Linux / CentOS SRPM testing common repository

[pgdg12-source]
name=PostgreSQL 12 for RHEL/CentOS $releasever - $basearch - Source
failovermethod=priority
baseurl=https://download.postgresql.org/pub/repos/yum/srpms/common/redhat/rhel-$releasever-$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG

# PGDG Source RPMs (SRPM), and their testing repositories:

[pgdg12-source]
name=PostgreSQL 12 for RHEL/CentOS $releasever - $basearch - Source
failovermethod=priority
baseurl=https://download.postgresql.org/pub/repos/yum/srpms/12/redhat/rhel-$releasever-$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG

kind regards,

Messages

DateAuthorSubject
2020-04-14 17:12:47+00PG Bug reporting formBUG #16362: yum repo: duplicated definition