Поиск
Список
Период
Сортировка
Искать

От:
Xin Ma <maxin.secret@gmail.com>
Дата:
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


Re:

От:
Devrim Gündüz <devrim@gunduz.org>
Дата:
Вложения:
Hi

On Tue, 2026-10-27 at 12:27 -0700, Xin Ma wrote:
> 
> 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



https://yum.postgresql.org/news/rhel-10.0-9.6-retirement/

https://www.postgresql.org/message-id/71408ab8a99658f1001ce285f6887024c3428e75.camel%40gunduz.org

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
BlueSky: @devrim.gunduz.org , @gunduz.org
FAQ