Cannot update puppet-agent to 6.24.0 on foreman servers

I have just tested 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 and it seems to work. Ran the script as user pulp. I seem to have 94 packages in the system which really have no filelist and not changelogs and thus keep getting “repaired” during each run.

Now, when I try to republish repository metadata for all repositories, it fails for the baseos repository of centos 8 and centos 8 stream. I get the same error which I have got for the sync, i.e. as described in CentOS 8.4 BaseOS Sync error

Too many bugs… I’ll have to wait for 4.1.2, I guess…