It seems that no new pulpcore is coming to 2.5.
Everybody busy working on 2.6/3.0, I assume.
I relented and installed CentOS 7. I still get that error on first sync, but if I re-sync it works.
pulpcore is independent from the foreman/katello version. 3.14 is the latest version. IMHO the missing pulp-rpm for el8 is a packaging issue.
Maybe create an issue at Issues - Foreman
O.K. @iballo mentioned itās work in progress: Unable to sync some repositories (AlmaLinux in this case) - #18 by iballou
Itās there now: https://yum.theforeman.org/pulpcore/3.14/el8/x86_64/python3-pulp-rpm-3.14.0-1.el8.noarch.rpm
To whom it may concern: after the update you should probably restart foreman to make pulp use the new version and also donāt forget to run the repair script from Issue #9107: filelists and changelog metadata is not parsed properly - Pulp saves incorrect filelists and changelog metadata and generates incorrect metadata - RPM Support - Pulp to fix all that broken metadata in the databaseā¦