Thread: BUG #18837: YUM Repo URL throws HTTP 404

BUG #18837: YUM Repo URL throws HTTP 404

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

Bug reference:      18837
Logged by:          Christian Tremel
Email address:      christian.tremel@itsv.at
PostgreSQL version: 17.4
Operating system:   RHEL 8.6 ppc64le
Description:

PostgreSQL 17 for RHEL / Rocky / AlmaLinux 8.6 - ppc64le

                                                   651  B/s | 146  B
00:00
Errors during downloading metadata for repository 'pgdg17':
  - Status code: 404 for
https://download.postgresql.org/pub/repos/yum/17/redhat/rhel-8.6-ppc64le/repodata/repomd.xml
(IP: 172.16.10.33)
Error: Failed to download metadata for repo 'pgdg17': Cannot download
repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

indeed the url is broken...see excerpt from repo config

[pgdg17]
name=PostgreSQL 17 for RHEL / Rocky / AlmaLinux $releasever - $basearch
baseurl=https://download.postgresql.org/pub/repos/yum/17/redhat/rhel-$releasever-$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL
repo_gpgcheck = 1


real url scheme is this, does not correspond with above ...not sure why is
this...

https://download.postgresql.org/pub/repos/yum/17/redhat/rhel-8-ppc64le/

please fix it up if possible