Bug 182417 - RFE: Clearer error message when mirror list fails
Summary: RFE: Clearer error message when mirror list fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-22 13:50 UTC by Clair Shaw
Modified: 2014-01-21 22:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-04-25 17:24:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Clair Shaw 2006-02-22 13:50:24 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.0.7-1.2.fc4 Firefox/1.0.7

Description of problem:
Whenever fedora.redhat is down, the mirror list cannot be found, so yum won't work. The error message that is currently provided ("Cannot find a valid baseurl for repo: updates-released") isn't very clear. To not worry or confuse users, could this error message be made clearer?

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
N/A
  

Additional info:

Comment 1 Patrick Barnes 2006-02-22 13:56:45 UTC
This is the same error message as when all requests fail.  Unfortunately, this 
doesn't allow a user to distinguish between all of the mirrors failing (or 
baseurls, depending upon config) and the mirrorlist not being reachable. 
 
If mirrorlist is set, and yum is unable to retrieve the specified URL, it 
should report a more descriptive message, such as: 
 
Unable to retrieve mirror list for repo: base 
 
It could then exit with any other error, including the current one.  I realize 
that combining options may allow other URLs not provided by the mirrorlist to 
be used, so making a mirrorlist failure a fatal error may not be reasonable. 
 

Comment 2 Patrick Barnes 2006-02-22 13:59:28 UTC
I'm changing the version to 'devel'.  This enhancement needs to be fixed for 
future releases.  Once fixed in devel, we can talk about backporting it. 
 

Comment 3 Jeremy Katz 2007-04-25 17:24:49 UTC
We actually print out that the mirror list can't be opened now.


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