validation result:
Error : InvalidChar Line : 11 Message : char '&' is not expected.
yum error:
(process:30319): GLib-WARNING **: 09:31:48.638: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: Parsing primary.xml error: EntityRef: expecting ';'
The utility generates a file that does not pass xml validation and which is not read by yum.
example: package: https://mirror.yandex.ru/centos/7/os/x86_64/Packages/hunspell-el-0.8-7.el7.noarch.rpm
result primary.xml:
validation result:
Error : InvalidChar Line : 11 Message : char '&' is not expected.
yum error:
(process:30319): GLib-WARNING **: 09:31:48.638: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: Parsing primary.xml error: EntityRef: expecting ';'