Bug 150996 - Yum - Should try other mirrors when parse error found
Summary: Yum - Should try other mirrors when parse error found
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 3
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-13 18:39 UTC by michael mastrangelo
Modified: 2014-01-21 22:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-22 18:58:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description michael mastrangelo 2005-03-13 18:39:41 UTC
Description of problem:
If there is a bad mirror and the repomd.xml is empty it should try one
of the other mirrors but it doesnt.

Version-Release number of selected component (if applicable):
yum-2.2.0-0.fc3

How reproducible:
well right now a livina mirror is acting up
so if you try now it will - if the mirror fixes...

Steps to Reproduce:
1.0 
here are my mirrors
baseurl=http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.unstable

http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable  

2. they dont work (see error below
3. rearrange them like this
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable  

http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.unstable

4. they work
  
Actual results:
//var/cache/yum/livna-unstable/repomd.xml:1: parser error : Document
is empty

^
//var/cache/yum/livna-unstable/repomd.xml:1: parser error : Start tag
expected,'<' not found

Expected results:
try the other mirror when repomd.xml is empty

Additional info:

Comment 1 Seth Vidal 2005-03-22 18:58:15 UTC
please see:
http://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=415


Note You need to log in before you can comment on or make changes to this bug.