Hide Forgot
Description of problem: [root]# zif update ... Failed to download: failed to resolve in xxxxxx: failed to load metadata for xxxxxx: failed to download repomd.xml from baseurl: could not parse uri: repodata/repomd.xml Version-Release number of selected component (if applicable): zif-0.2.4-0.92.20110920git (Kevin K's repository) Steps to Reproduce: 1. Add a *.repo to /etc/yum.repos.d/*.repo which is using "multi-line baseurls", i.e. something similar to this: ... [xxxxxx] name=xxxxxx for Fedora $releasever - $basearch baseurl= ftp://ftp1.foo.org/pub/foo/fedora/$releasever/$basearch ftp://ftp2.foo.org/pub/foo/fedora/$releasever/$basearch ftp://ftp3.foo.org/pub/foo/fedora/$releasever/$basearch metadata_expire=1 ... 2. run zif update Actual results: yum flawlessly processes such *.repos, zif errors out with the error above.
Yup, already fixed in: commit b55044c8862036782d14b41e5c77b32c2fea8823 Author: Richard Hughes <richard> Date: Sun Sep 18 16:07:23 2011 +0100 Support non-standard multiline repo files Yum supports multiline repo files in the format: [Fedora] name=Fedora baseurl=http://download1.fedoraproject.org/ http://download2.fedoraproject.org/ We need to parse the lines manually and make this acceptable to the GKeyFile parser. Can you try a newer zif, for instance zif-0.2.4-0.93 or newer from http://people.freedesktop.org/~hughsient/fedora/15/SRPMS/ please. Thanks.