Leapp upgrade: Failed to download metadata for repo 'el10-pgdg13'

Hi,

I am trying to upgrade an Alma9 to Alma10 with the PostgreSQL official repo setup.
Since few months postgresql remove the postgres repo for pgsql13 but the leapp upgrade script try to find it for Alma10 causing a blocking error: Failed to download metadata for repo ‘el10-pgdg13’
I have no packages from pgsql13 installed only pgsql17 packages and pgsql 13 repo is not configured or active.
I can provide the full trace if need be.

Regards,
Sebastien

Hello,

Even if you haven’t used the pgdg13 package, Leapp may still detect it if the repo definition remains.
First, please try running the following commands:

dnf repolist all | grep pgdg13
rpm -q leapp-data-almalinux

Hi,
Thanks for your answer pgdg13 was not in the repolist.

Anyway I found a workaround by:

  1. uninstalling postgres repo and packages

  2. upgrading to Alma10

  3. Reinstalling same postgres version from official postgres repo

When I upgrade another server with postgres I will see If I have the same behaviour and I can give you the result of the commands you asked.

I run leapp preupgrade script on another server with postgresql but I do not have the pgsql13 repo error.
Seems likely that my first server had a bad configuration somewhere.

Thank you for verifying this. I believe your findings will also be valuable for others in the AlmaLinux community who are experiencing a similar issue.