Yum through http proxy
Posted
by
eodchop
on Server Fault
See other posts from Server Fault
or by eodchop
Published on 2010-06-02T18:58:55Z
Indexed on
2012/09/17
9:40 UTC
Read the original article
Hit count: 193
yum
I have several Fedora 13 servers that have to connect through an http proxy for yum updates. All port 80 traffic has to be routed through this proxy. I have setup the proxy server in the network settings GUI. I can browse the internet just fine. I have also setup my proxy information in /etc/yum.conf as follows: proxy=http:proxy.largecorp.corp/accelerated_pac_base.pac proxy_user=user proxy_password=password
I then added the export HTTP_PROXY="http:proxy.largecorp.corp/accelerated_pac_base.pac" to /etc/bashrc and sourced the file.
When i run yum update: Loaded plugins:presto, refresh-packagekit Error: Cannot retrieve repository metadata (repomd.xml) fro repository: fedora. Please verify its path and try again.
All of the repo urls are the defaults, as this is a fresh install.
© Server Fault or respective owner