| Summary: | zif chokes on "multi-line baseurls" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ralf Corsepius <rc040203> |
| Component: | zif | Assignee: | Richard Hughes <hughsient> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | hughsient |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-21 12:21:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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.
|
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.