Bug 312781
Summary: | yum gets stuck by mirrorlist.txt being bad | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Scott J Henson <shenson> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | james.antill, pmatilai, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-10-02 16:49: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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 235704 |
Description
Scott J Henson
2007-09-29 23:58:11 UTC
Committed a fix in yum upstream - essentially if all the urls for a repo are bogus we unlink the cached mirrorlist so yum will get it again the next time. Seems the safest thing and it will handle little arbitrary issues. Thanks, quick question. Does it do this right after its grabbed the list or on the next run? It would make more sense for it to check the new mirrorlist before caching it. If the mirrorlist it just grabbed is bogus it could then throw an error telling the user there is something wrong with the repo or their network connection. the mirrorlist itself is just a simple text file. There's no way to look at the mirrorlist and know if it is good or bad before we look at each url. So, grab the mirrorlist, save it to a cache file, then we parse it. In the current code there's just not a good way to do otherwise w/o a lot of moving things around. So the unlink and then the error is better. yum-3.2.6-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum' yum-3.2.6-2.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum' |