-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing primary.xml error: Start tag expected, '<' not found #383
Comments
If you look at the description in https://fedoraproject.org/wiki/Changes/createrepo_c_1.0.0#Detailed_Description, it lays out some of the rationale - notably that this isn't the only compatibility glitch with EL7 introduced in 1.0. The other major one is
The version of createrepo_c shipped with CentOS Stream 8 or 9 will always be compatible by default and only Fedora Rawhide currently would have this package. Do you need to use the latest version for some reason? Are you building it yourself? |
We are also considering adding some kind of a compatibility option to generate metadata compatible with older releases even with new createrepo_c. |
There's already a |
|
Not really a bug report, but just a suggestion based on what happened.
I switched from
0.21.1
to1.0.0
When I launched
createrepo_c
I got a failure because the program was not compiled with zstd support. At this point I imagine that zstd must be mandatory instead of optional or at least it should not be the default algo when the program is not compiled with zstd support.Anyway I built it with zstd support and everything was fine, except the fact that I got an error while doing
yum makecache
from an up-to-date CentOS 7, the error was:So what I did:
createrepo_c
to0.21.1
createrepo_c
Then I discovered that I did not have anymore
primary.xml.gz
, instead there wasprimary.xml.zst
.So on my side I fixed it by adding
--general-compress-type=gz --compress-type=gz
but since CentOS 7 is still widely used and it seems to lack support for repo compressed inzst
I'd suggest to move the default togz
The text was updated successfully, but these errors were encountered: