Good morning,
today we received an error that the cloudflare/7/x86_64/primary repro has an error in the primary.xml.
Stated Error : “Parsing primary.xml error: Start tag expected, ‘<’ not found” in cloudflare/7/x86_64/primary
We are running under CentOS Linux release 7.7.1908 (Core)
Anyone an idea how to fix this issue?
Thanks and best regards
Michael
scott32
2
I’m getting an error when updating yum repo data:
Parsing primary.xml error: Start tag expected, '<' not found
I’ve isolated it to your repository, specifically the primary.xml file. It’s malformed. I can reproduce the issue by running this code:
curl http://pkg.cloudflare.com/dists/7/main/binary-x86_64/repodata/primary.xml.gz | gunzip -c primary.xml.gz | head -1
-e <?xml version="1.0" encoding="UTF-8"?>
The " -e " at the beginning of the line causes the xml to be malformed. I couldn’t find anywhere else to report this issue.
scott32
3
Thanks. Seems to be fixed now.
1 Like