From: Xin Ma <maxin(dot)secret(at)gmail(dot)com>
To: pgsql-pkg-yum(at)lists(dot)postgresql(dot)org, soumava(dot)pg(at)gmail(dot)com, Devrim Gündüz <devrim(at)gunduz(dot)org>
Subject:
Date: 2026-10-27 19:27:35
Message-ID: CACjetkhtkE_evUKnRBLVmpq70V_i3F0mn__MGhYBxPjZcwqhBQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hi all,

Since yesterday (October 26) our builds on RHEL 9 have been failing
when we install PGDG packages. The error is:

Errors during downloading metadata for repository 'pgdg-common':

- Status code: 404 for
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-9.6-x86_64/repodata/repomd.xml
(IP: 146.75.79.52)
Error: Failed to download metadata for repo 'pgdg-common': Cannot
download repomd.xml: Cannot download repodata/repomd.xml: All mirrors
were tried

We set up the repo with:

yum install -y --disablerepo=pgdg13
https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-$(uname
-m)/pgdg-redhat-repo-latest.noarch.rpm

What we've found:

- common/redhat/rhel-9.6-x86_64/ was removed from
download.postgresql.org on October 26.
- reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm was last
updated on 27-Sep-2026. The repo file it installs still resolves
pgdg-common (and possibly other repos) to the rhel-9.6-x86_64 path,
which no longer exists.

So right now, a fresh install of the latest repo RPM on our RHEL 9.6
hosts produces a repo config that can't be used.

Our questions:

1. Was removing rhel-9.6-* intentional? If so, is a new
pgdg-redhat-repo-latest RPM coming that matches the current directory
layout?
2. Until this is resolved, is the recommended workaround to override
the release version (e.g. --releasever=9, or pointing the baseurl at a
different rhel-9.x directory)? Or is there a better approach?

We're happy to provide more details or test a fix. Thanks for
maintaining the PGDG repos.

Best regards,
Xin Ma

Responses

  • Re: at 2026-10-28 09:29:06 from Devrim Gündüz

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2026-10-28 09:29:06 Re:
Previous Message Devrim Gündüz 2026-10-26 22:12:39 The PostgreSQL RPM repository needs a lot less EPEL now!