Description of problem: See above... a short hack might be 'proxy=None' or something in *.repo, but this will not well with the mirror-function (some mirrors might need a proxy, others not). Correct fix would be $no_proxy support in python urllib.
proxy=_none_ was added to yum 2.2.0 and cvs HEAD. 2.2.0 is in updates-testing now.
does not seem to work... | # cat local.repo | [local] | name=Red Hat Linux $releasever - Local | baseurl=http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.yum/3/$basearch/local | proxy=_none_ | | # set | grep proxy | ftp_proxy=http://www-cache:3128/ | http_proxy=http://www-cache:3128/ | https_proxy=http://www-cache:3128/ | no_proxy=ultra.csn.tu-chemnitz.de But proxy log shows an access: | 1109370381.162 0 morden.ultra.csn.tu-chemnitz.de TCP_MEM_HIT/200 1271 GET http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.yum/3/i386/local/repodata/repomd.xml - NONE/- text/xml ... Can be probably verified at your machine by putting 'proxy=_none_' into the '[main]' section and executing | # http_proxy=http://impossible:420000 yum update
forgot: | $ rpm -q yum | yum-2.3.0-1
set the proxy in [main] and then disable it for cetain locations in each repo. I'm not sure that this will disable or override the shell set proxy variable.