BUG #16362: yum repo: duplicated definition

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: jordi(dot)prats(at)gmail(dot)com
Subject: BUG #16362: yum repo: duplicated definition
Date: 2020-04-14 17:12:47
Message-ID: 16362-596ea8c5fa2a3a51@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16362
Logged by: Jordi Prats
Email address: jordi(dot)prats(at)gmail(dot)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(at)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,

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2020-04-14 18:00:19 Re: [bug] Table not have typarray when created by single user mode
Previous Message Jehan-Guillaume de Rorthais 2020-04-14 16:09:23 Re: [BUG] non archived WAL removed during production crash recovery