BUG #17555: Missing rhel-9 repo
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
Hi,
This is not a bug. Those repos are disabled by default, because:
- Supplementary repo does not exist (for now, until RHEL 9.1 will be
out and if RHEL breaks compatibility with 9.0).
- Testing repos exists if we need to test something.
Please put them back to their original values.
Regards, Devrim
On Mon, 2022-07-18 at 12:59 +0000, PG Bug reporting form wrote:
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 errorPostgreSQL 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
triedI 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 = 1and 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
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR