Re: Errors in pgdg repo packages

From: Kevin Struckhoff <kevinstruckhoff(at)yahoo(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>, Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Errors in pgdg repo packages
Date: 2026-11-09 18:54:39
Message-ID: 994888104.1185032.1794250479382@mail.yahoo.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I would never use an oracle product. I'd retire first. I've been using RHEL/Centos for 15+ years and switched to Centos Stream at V8. I've been using postgresql for 13+ years. 
even the update repo fails:
>dnf update pgdg-redhat-repo
PostgreSQL common RPMs for RHEL / Rocky Linux / AlmaLinux 10. - x86_64                  497 kB/s | 163 kB     00:00
PostgreSQL 18 for RHEL / Rocky Linux / AlmaLinux 10. - x86_64                           519 kB/s | 177 kB     00:00
PostgreSQL 17 for RHEL / Rocky Linux / AlmaLinux 10. - x86_64                           620  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-10.-x86_64/repodata/repomd.xml (IP: 151.101.67.52)
Error: Failed to download metadata for repo 'pgdg17': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

So the only solution that has worked for me is a manual edit of the repo file. 

Thanks. Kevin

On Monday, November 9, 2026 at 02:01:10 AM PST, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:

Hi,

On Sat, 2026-11-07 at 19:33 +0000, Kevin Struckhoff wrote:
> The pgdg repo file is corrupted on my server and was installed that
> way. It needs to be replaced. what is the correct repo file url? 

Looks like you are using an unsupported distro like CentOS Stream of
Oracle Linux which lacks $releasever_minor in dnf. We support RHEL,
AlmaLinux and Rocky Linux (probably more as long as they don't lack that
variable). Recent repo files check that variable to construct the URLs:

https://yum.postgresql.org/news/repo-rpms-follow-os-minor-version/

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Struckhoff 2026-11-09 19:21:44 Corrupted RPM file
Previous Message Marcos Castedo 2026-11-09 18:31:23 Re: BUG #19816: PL/Python SD dictionary is split by input collation in 19rc1