pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: jordi.prats@gmail.com
Subject: BUG #16362: yum repo: duplicated definition
Date: Tue, 14 Apr 2020 17:12:47 +0000
Message-ID: <16362-596ea8c5fa2a3a51@postgresql.org> (raw)

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,



Message-ID: <16362-596ea8c5fa2a3a51@postgresql.org>
Permalink:  ../16362-596ea8c5fa2a3a51@postgresql.org/
Also on:    postgresql.org/message-id/16362-596ea8c5fa2a3a51@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, jordi.prats@gmail.com
  Subject: Re: BUG #16362: yum repo: duplicated definition
  In-Reply-To: <16362-596ea8c5fa2a3a51@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox