The following bug has been logged on the website:
Bug reference: 17555
Logged by: Pavel Lavrukhin
Email address: danttevip@gmail.com
PostgreSQL version: 14.4
Operating system: Oracle Linux Server release 9.0
Description:
Hello
After install rpm with RHEL 9 repo, failed to install postgresql due to a
non-existent repository error
PostgreSQL Supplementary ucommon RPMs for RHEL / Rocky 9 - x86_64
132 B/s | 146 B 00:01
Errors during downloading metadata for repository 'pgdg-rhel9-sysupdates':
- Status code: 404 for
https://download.postgresql.org/pub/repos/yum/common/pgdg-rocky9-sysupdates/redhat/rhel-9-x86_64/repodata/repomd.xml
(IP: 147.75.85.69)
Error: Failed to download metadata for repo 'pgdg-rhel9-sysupdates': Cannot
download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were
tried
I commited the block
[pgdg-rhel9-sysupdates]
name=PostgreSQL Supplementary ucommon RPMs for RHEL / Rocky $releasever -
$basearch
baseurl=https://download.postgresql.org/pub/repos/yum/common/pgdg-rocky9-sysupdates/redhat/rhel-$releasever-$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
repo_gpgcheck = 1
and again I got an error with another repo
PostgreSQL common testing RPMs for RHEL / Rocky 9 - x86_64
75 B/s | 146 B 00:01 A
Errors during downloading metadata for repository 'pgdg-common-testing':
- Status code: 404 for
https://download.postgresql.org/pub/repos/yum/testing/common/redhat/rhel-9-x86_64/repodata/repomd.xml
(IP: 72.32.157.246)
Error: Failed to download metadata for repo 'pgdg-common-testing': Cannot
download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were
tried