BUG #16362: yum repo: duplicated definition - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16362: yum repo: duplicated definition
Date
Msg-id 16362-596ea8c5fa2a3a51@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16362
Logged by:          Jordi Prats
Email address:      jordi.prats@gmail.com
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,


pgsql-bugs by date:

Previous
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: [BUG] non archived WAL removed during production crash recovery
Next
From: Alvaro Herrera
Date:
Subject: Re: [bug] Table not have typarray when created by single user mode