Bug 210399 - yum has no good way to drop chosen sites from a mirror list
Summary: yum has no good way to drop chosen sites from a mirror list
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-11 20:43 UTC by Michal Jaegermann
Modified: 2014-01-21 22:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-10-11 20:46:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
pretended repomd.xml (2.69 KB, text/xml)
2006-10-11 20:43 UTC, Michal Jaegermann
no flags Details

Description Michal Jaegermann 2006-10-11 20:43:58 UTC
Description of problem:

Attached below is a file which is passing for
http://fedora.ngi.it/5/x86_64/os/repodata/repomd.xml
(and the same one is used for i386 arch too).

It is not particularly surprising that when yum attempts to use
it then is coming with errors like:

//var/cache/yum/core/repomd.xml:79: parser error : Entity 'copy' not defined
    <span class="text">Copyright &copy; 2004 NGI S.p.A. | All rights reserved</span>

and other "interesting" stuff like that.  I have seen these errors
on many occasions, so this is not a temporary hiccup, but if
yum is configured with "mirrorlist=http://fedora.redhat.com/download/..."
then from time to time one is hitting that mirror, or maybe other
with troubles, and there is no really good way to tell yum not
to bother with it.  It would be nice to have such possibility.
yum will try eventually something else but on a slow connection
this takes time (or spams mail from a cron job).

Even nicer would be if yum could maintain a "blacklist" itself
based on the past record.

Comment 1 Michal Jaegermann 2006-10-11 20:43:58 UTC
Created attachment 138277 [details]
pretended repomd.xml

Comment 2 Seth Vidal 2006-10-11 20:46:04 UTC
1. in fc6 the mirror mgmt has gotten better to look for problems just like this
2. yum 3.0.X should handle mirrors returning valid files but invalid data better.


so I'm pretty sure this is marginally correct in rawhide.

closing as such.


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