I have a virtual YUM repository with few remote and local repo's. And suddenly the virtual yum has stopped working with error.
(process:62): GLib-WARNING **: 10:16:48.556: 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: Extra content at the end of the document
Upon digging further I found that the repomd.xml file in the virtual repo which is getting downloaded is different vs what I have in artifactory. I tried creating the new virtual altogether but that didn't help.
Here is the curl command which shows the md5/sha256 everuthing different than actual
[root@0cd9ffc61d18 yum.repos.d]# curl -I https://MASKED/artifactory/virtual-yum-rhel7-juned/repodata/repomd.xml
Content-Disposition: attachment; filename="repomd.xml"; filename*=UTF-8''repomd.xml
Date: Tue, 26 Mar 2019 10:41:17 GMT
Last-Modified: Tue, 26 Mar 2019 10:18:53 GMT
And below is what I got from UI for same file
SHA-256: f0a063f2a10f4ef200745e2e19be5bd0aad47c271d0226a6b39b1e1d9cb5ff60 (Uploaded: Identical)
SHA-1: ecf82e921ea3b96a9329cf97d63f49467a84ee52 (Uploaded: Identical)
MD5: f8e19e8590b06ce510351b365b49e547 (Uploaded: Identical)