FIX: Invalid metadata when generating rpm indexes from ubi9-appstream
Created:
3/4/2024 1:23:16 PM by Steve Dennis
Status:
Awaiting Release on
Last pulled:
3/15/2024 9:50:00 PM
Description:
It looks like there's an issue with `gcc-toolset-12-libstdc++-docs` in https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os
Not sure all the steps required, but here's how to repro in ProGet:
1. Create a RPM feed named ubi9-baseos-mirror
2. Through the feed ubi9-baseos-mirror, create a connector named ubi9-baseos pointing on https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/baseos/os
3. Through the feed ubi9-baseos-mirror, create a connector named ubi9-appstream pointing on https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os
4. Remove the connector ubi9-appstream from the feed ubi9-baseos-mirror
5. Create a RPM feed named ubi9-appstream-mirror
6. Add the connector ubi9-appstream to the feed ubi9-appstream-mirror
After that, when visiting http://localhost/rpm/ubi9-appstream-mirror/repodata/repomd.xml I get the error "Invalid package metadata."
Setting a breakpoint, it looks like the issue is with `gcc-toolset-12-libstdc++-docs`