Bug 210399 - yum has no good way to drop chosen sites from a mirror list
yum has no good way to drop chosen sites from a mirror list
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-11 16:43 EDT by Michal Jaegermann
Modified: 2014-01-21 17:55 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-10-11 16:46:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Michal Jaegermann 2006-10-11 16:43:58 EDT
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 16:43:58 EDT
Created attachment 138277 [details]
pretended repomd.xml
Comment 2 Seth Vidal 2006-10-11 16:46:04 EDT
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.