Thread: BUG #16362: yum repo: duplicated definition
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,