Description of problem:
In a PC using a proxy to connect to internet, yum must be configured
properly in order to use the proxy.
This can be done by adding the "proxy" command to yum.conf.
Problem is that, in order to scan all the possible mirrrors, also the
ftp proxy should work, otherwise yum fails, and the ftp proxy cannot
be added to the http proxy in yum.conf (at least I could not find any
way to do it).
Version-Release number of selected component (if applicable):
Always, as far as I could test.
Steps to Reproduce:
Add the command "proxy=..." to yum.conf
Try something like "yum update"
yum fails with some error like:
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core
The repository schould be scanned and the update (in this example) occur.
Exporting http_proxy=... and ftp_proxy=... separately works.
So, the problem is either in the documentation, or in the config file.
try out yum 2.6.1 just released in the updates repository - see if it works for you.
I tried just today the yum 2.6.1 and I must say that, while the
problem is not visible anymore, it seems to me that it is just
masked and not really solved.
If I understand correctly, now yum will not gave up when some
ftp mirrot is not found, due to the missing proxy.
I think it would be a better solution to have the possibilty to
define http and ftp proxies separately in yum.conf.
Maybe a TODO item for yum 2.7.0...