BUG #16382: pgdg-redhat-repo-42.0-9 has two sections with the same name - causing issues

Started by PG Bug reporting formabout 6 years ago2 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 16382
Logged by: Susan Thistlethwaite
Email address: sthistleva@gmail.com
PostgreSQL version: Unsupported/Unknown
Operating system: CentOS 7
Description:

Please rename one of the two 'pgdg12-source' sections below (they shouldn't
be the same name and it's messing up my Foreman install).
from:
https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-42.0-9.noarch.rpm
===
...
# 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

#2Hamid Akhtar
hamid.akhtar@gmail.com
In reply to: PG Bug reporting form (#1)
Re: BUG #16382: pgdg-redhat-repo-42.0-9 has two sections with the same name - causing issues

In the latest source of pgdg I see the issue is resolved. However the name
of the repository still mentions 12 which should be changed to common
instead. Attached is the patch that resolves the issue.

On Tue, Apr 21, 2020 at 3:26 AM PG Bug reporting form <
noreply@postgresql.org> wrote:

The following bug has been logged on the website:

Bug reference: 16382
Logged by: Susan Thistlethwaite
Email address: sthistleva@gmail.com
PostgreSQL version: Unsupported/Unknown
Operating system: CentOS 7
Description:

Please rename one of the two 'pgdg12-source' sections below (they shouldn't
be the same name and it's messing up my Foreman install).
from:

https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-42.0-9.noarch.rpm
===
...
# 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
<https://download.postgresql.org/pub/repos/yum/srpms/common/redhat/rhel-$releasever-$basearchenabled=0&gt;
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
<https://download.postgresql.org/pub/repos/yum/srpms/12/redhat/rhel-$releasever-$basearchenabled=0&gt;
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG

--
Highgo Software (Canada/China/Pakistan)
URL : www.highgo.ca
ADDR: 10318 WHALLEY BLVD, Surrey, BC
CELL:+923335449950 EMAIL: mailto:hamid.akhtar@highgo.ca
SKYPE: engineeredvirus

Attachments:

pgdg-source-common-repo.patchapplication/octet-stream; name=pgdg-source-common-repo.patchDownload+1-1