Thread: BUG #17209: The latest pgdg-redhat-repo-latest.noarch has incorrect path for pgdg14

BUG #17209: The latest pgdg-redhat-repo-latest.noarch has incorrect path for pgdg14

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      17209
Logged by:          Gavin McAreavey
Email address:      gavmca75@gmail.com
PostgreSQL version: 11.7
Operating system:   rhel7.4
Description:

The yum config for pgdg14 in the latest pgdg-redhat-repo-latest contains the
following 
[pgdg14]
name=PostgreSQL 14 for RHEL/CentOS $releasever - $basearch
baseurl=https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-$releasever-$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
repo_gpgcheck = 1

The baseurl is incorrect causing yum to fail. I had to disable pgdg14 to
allow my puppet run to continue.
https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-7Server-x86_64/repodata/repomd.xml:
[Errno 14] HTTPS Error 404 - Not Found

The actual path beyond
https://download.postgresql.org/pub/repos/yum/14/redhat/ differ.


Hi,

On Fri, 2021-10-01 at 12:16 +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference:      17209
> Logged by:          Gavin McAreavey
> Email address:      gavmca75@gmail.com
> PostgreSQL version: 11.7
> Operating system:   rhel7.4
> Description:       
>
> The yum config for pgdg14 in the latest pgdg-redhat-repo-latest
> contains the
> following
> [pgdg14]
> name=PostgreSQL 14 for RHEL/CentOS $releasever - $basearch
> baseurl=
> https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-$releasever-$basearch
> enabled=0
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
> repo_gpgcheck = 1
>
> The baseurl is incorrect causing yum to fail. I had to disable pgdg14
> to
> allow my puppet run to continue.
> https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-7Server-x86_64/repodata/repomd.xml
> :
> [Errno 14] HTTPS Error 404 - Not Found
>
> The actual path beyond
> https://download.postgresql.org/pub/repos/yum/14/redhat/ differ.

Thanks for the report.  Fixed.

Regards,

>

--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachment