Re: BUG #18895: Installation failure on Fedora 42 due to missing repos

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: buschmann(at)nidsa(dot)net, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18895: Installation failure on Fedora 42 due to missing repos
Date: 2025-04-16 12:20:52
Message-ID: aa6708cd31d87692cc524662eaf60d50b9137d54.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, 2025-04-16 at 08:59 +0000, PG Bug reporting form wrote:
> Bug reference: 18895
> PostgreSQL version: 17.4
> Operating system: Fedora 42 Server x86-64
>
> Following the official availability of Fedora 42 on April 15 2025 I tried to
> upgrade some virtual machines with Fedora server x86-64.
>
> In all cases Postgres 17.4 was installed from PGDG repositories (not the
> builtin version)
>
> Postgres blocked the upgrade, so I removed all postgresql17* packages. The
> general upgrade of Fedora 41 to Fedora 42 then was successfull.
>
> Trying to install the new repo from the installation website with:
>
> sudo dnf install -y
> https://download.postgresql.org/pub/repos/yum/reporpms/F-42-x86_64/pgdg-fedora-repo-latest.noarch.rpm
>
> resulted in:
>
> Failed to download files
> Librepo error: Status code: 404 for
> https://download.postgresql.org/pub/repos/yum/reporpms/F-42-x86_64/pgdg-fedora-repo-latest.noarch.rpm
> (IP: 2a04:4e42:8e::820)
>
> I manually installed the repo from
> https://ftp.postgresql.org/pub/repos/yum/reporpms/F-42-x86_64/pgdg-fedora-repo-42.0-36PGDG.noarch.rpm
>
> But further installation gave me:
> [root(at)linux ~]# dnf list postgresql17*
> Updating and loading repositories:
> PostgreSQL common RPMs for Fedora 42 - x86_64
> 100% | 5.1 KiB/s | 584.0 B | 00m00s
> > > > Status code: 404 for
> https://download.postgresql.org/pub/repos/yum/common/fedora/fedora-42-x86_64/repodata/repomd.xml
> (IP: 2a04:4e42:
> .. etc...
>
> By looking to directory
> https://ftp.postgresql.org/pub/repos/yum/common/fedora/
>
> ./
> fedora-40-x86_64/ 14-Apr-2025 14:11
> -
> fedora-41-x86_64/ 14-Apr-2025 14:11
> -
>
> I noticed that fedora-42 is missing there.

This is a packaging problem. I'll ping the pgsql-pkg-yum mailing list, where this belongs.

Yours,
Laurenz Albe

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Devrim Gündüz 2025-04-16 12:41:50 Re: BUG #18895: Installation failure on Fedora 42 due to missing repos
Previous Message Andrei Lepikhov 2025-04-16 10:00:27 Re: BUG #18885: ERROR: corrupt MVNDistinct entry - 2