Red Hat Bugzilla – Bug 178805
yum doesn't read the 'proxy' repo option in config file
Last modified: 2014-01-21 17:53:27 EST
Description of problem:
- When separating local and external repositories, the manpage says that you
should put an 'proxy' option with the value '_none_' to *not* use a proxy for a
specific repository (or skip global configuration proxy option). But even
specifying the option, yum tries to use the proxy (with environment variables
http_proxy and ftp_proxy configured). This way one cannot separate specific
local repositories (intranet) and external repositories (external throught a proxy).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure yum to use a proxy to get files.
2. Set an 'proxy=none' (or _none_? see manpage) in a repo file (.repo)
3. Try to 'yum update' and see if it's coming throught proxy or not (strace is
your friend too)
yum gets the files of that specific repo throught proxy. If the proxy is
unavailable for a local repo, it fails to downloads the files.
yum ignores the proxy and tries to get the files directly.
I found another entry in Bugzilla with this problem:
But in this case, it is specific to the 'none' proxy option. Don't know it's a
duplicate entry. I think it is some kind of duplicate, but with more information
to add about the problem. Correct me if I'm wrong, but I'll try to Mark as
duplicate ;) Sorry.
*** This bug has been marked as a duplicate of 161190 ***