pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #18895: Installation failure on Fedora 42 due to missing repos
4+ messages / 3 participants
[nested] [flat]

* BUG #18895: Installation failure on Fedora 42 due to missing repos
@ 2025-04-16 08:59 PG Bug reporting form <noreply@postgresql.org>
  2025-04-16 12:20 ` Re: BUG #18895: Installation failure on Fedora 42 due to missing repos Laurenz Albe <laurenz.albe@cybertec.at>
  2025-04-16 12:41 ` Re: BUG #18895: Installation failure on Fedora 42 due to missing repos Devrim Gündüz <devrim@gunduz.org>
  0 siblings, 2 replies; 4+ messages in thread

From: PG Bug reporting form @ 2025-04-16 08:59 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: buschmann@nidsa.net

The following bug has been logged on the website:

Bug reference:      18895
Logged by:          Hans Buschmann
Email address:      buschmann@nidsa.net
PostgreSQL version: 17.4
Operating system:   Fedora 42 Server x86-64
Description:        

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.rp...

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.rp...
(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.rp...

But further installation gave me:
[root@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 may be the reason for the installation failure.

Perhaps I am missing something else so please give me some advise...

Thanks in advance

Hans Buschmann



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18895: Installation failure on Fedora 42 due to missing repos
  2025-04-16 08:59 BUG #18895: Installation failure on Fedora 42 due to missing repos PG Bug reporting form <noreply@postgresql.org>
@ 2025-04-16 12:20 ` Laurenz Albe <laurenz.albe@cybertec.at>
  1 sibling, 0 replies; 4+ messages in thread

From: Laurenz Albe @ 2025-04-16 12:20 UTC (permalink / raw)
  To: buschmann@nidsa.net; pgsql-bugs@lists.postgresql.org

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.rp...
> 
> 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.rp...
> (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.rp...
> 
> But further installation gave me:
> [root@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





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18895: Installation failure on Fedora 42 due to missing repos
  2025-04-16 08:59 BUG #18895: Installation failure on Fedora 42 due to missing repos PG Bug reporting form <noreply@postgresql.org>
@ 2025-04-16 12:41 ` Devrim Gündüz <devrim@gunduz.org>
  2025-04-16 13:26   ` Re: BUG #18895: Installation failure on Fedora 42 due to missing repos Devrim Gündüz <devrim@gunduz.org>
  1 sibling, 1 reply; 4+ messages in thread

From: Devrim Gündüz @ 2025-04-16 12:41 UTC (permalink / raw)
  To: buschmann@nidsa.net; pgsql-bugs@lists.postgresql.org

Hi,

On Wed, 2025-04-16 at 08:59 +0000, PG Bug reporting form wrote:
> 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.

It takes some time to build the packages from scratch (with the stable
version of the OS), verifying and syncing them. Just finished syncing. 
dnf system-upgrade should work. There are 2 known issues that I
documented here:

https://yum.postgresql.org/news/fedora-42-packages-released/

But:

> 
> 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.rp...
> 
> 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.rp...
> (IP: 2a04:4e42:8e::820)

That is a problem indeed and we are working on fixing it. Until then you
can use this direct link for now:

https://download.postgresql.org/pub/repos/yum/reporpms/F-42-x86_64/pgdg-fedora-repo-42.0-38PGDG.noar...

-HTH
--
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachments:

  [application/pgp-signature] signature.asc (857B, ../../06d78c6b8734fb13d143c77a1e4b7cb01a33d9f9.camel@gunduz.org/2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18895: Installation failure on Fedora 42 due to missing repos
  2025-04-16 08:59 BUG #18895: Installation failure on Fedora 42 due to missing repos PG Bug reporting form <noreply@postgresql.org>
  2025-04-16 12:41 ` Re: BUG #18895: Installation failure on Fedora 42 due to missing repos Devrim Gündüz <devrim@gunduz.org>
@ 2025-04-16 13:26   ` Devrim Gündüz <devrim@gunduz.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Devrim Gündüz @ 2025-04-16 13:26 UTC (permalink / raw)
  To: buschmann@nidsa.net; pgsql-bugs@lists.postgresql.org

Hi,

On Wed, 2025-04-16 at 15:41 +0300, Devrim Gündüz wrote:
> > 
> > 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.rp...
> > 
> > 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.rp...
> > (IP: 2a04:4e42:8e::820)

This is also fixed. Sorry for the inconvenience.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachments:

  [application/pgp-signature] signature.asc (857B, ../../ae82403bb16b1ad744ce94fd53e5a335ad4e3210.camel@gunduz.org/2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2025-04-16 13:26 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-04-16 08:59 BUG #18895: Installation failure on Fedora 42 due to missing repos PG Bug reporting form <noreply@postgresql.org>
2025-04-16 12:20 ` Laurenz Albe <laurenz.albe@cybertec.at>
2025-04-16 12:41 ` Devrim Gündüz <devrim@gunduz.org>
2025-04-16 13:26   ` Devrim Gündüz <devrim@gunduz.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox