Hide Forgot
Description of problem: Verifytree tries to download a non-existent file, then reports an error. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Follow Sat 6 steps to create disconnected host up to katello-disconnected export... 2. expand-export.sh 3. verifytree resulting repo(s) Actual results: ... verifying comps.xml grammar with xmllint error : No such file or directory warning: failed to load external entity "http://cvs.fedoraproject.org/viewcvs/*checkout*/comps/comps.rng" Relax-NG parser error : xmlRelaxNGParse: could not load http://cvs.fedoraproject.org/viewcvs/*checkout*/comps/comps.rng Relax-NG schema http://cvs.fedoraproject.org/viewcvs/*checkout*/comps/comps.rng failed to compile Checking all packages Expected results: ... verifying comps.xml grammar with xmllint Checking all packages Additional info: New location appears to be https://git.fedorahosted.org/cgit/comps.git/plain/comps.rng
Thom, could you upload a tarball with a sample repo to reproduce this problem? That would greatly increase the chance of having it addressed. Also, could you clarify why you consider the result you are getting to be a bug?
It is a bug because we are shipping with a URL that will return a 404 from now on.
Ah, I see now that the URL is hardcoded in verifytree. Thank you for the report! Does replacing the URL with the new one fix the problem for you?
Sorry, I didn't try it. I would expect that it would....
I've tried replacing the URL, but it doesn't make much difference. xmllint fails even with a proper URL. $ xmllint --noout --nowarning --relaxng https://git.fedorahosted.org/cgit/comps.git/plain/comps.rng /var/tmp/yum-root-aG929w/__tmp_trepo/gen/comps.xml warning: failed to load external entity "https://git.fedorahosted.org/cgit/comps.git/plain/comps.rng" Relax-NG parser error : xmlRelaxNGParse: could not load https://git.fedorahosted.org/cgit/comps.git/plain/comps.rng Relax-NG schema https://git.fedorahosted.org/cgit/comps.git/plain/comps.rng failed to compile
Checking the URLs inside that document: http://relaxng.org/ns/compatibility/annotations/1.0 gives a 404 also
(In reply to Valentina Mukhamedzhanova from comment #6) > I've tried replacing the URL, but it doesn't make much difference. xmllint > fails even with a proper URL. The reason for this is that xmllint doesn't support SSL and the new URL starts with https. We can fix this by either downloading the comps.rng file ourselves or shipping the file along with the yum-utils rpm.
New PR with a fixup: https://github.com/rpm-software-management/yum-utils/pull/11
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2187.html