Sunday, September 13, 2009

Fedora YUM and installers will not work

If using Fedora (any flavor but I tried on 8, 10 and 11) and YUM installer (or package installer) and you get the following, (even with a fresh install of Fedora)...

"Cannot retrieve repository metadata (repomd.xml)"

I finally was able to get around this problem, caused by my corporate
firewall, by using this combination...

1) Disabling client firewall in Fedora

2) Exporting the proxy server at the command line (even though I had
specified it in the GUI) as follows...

export http_proxy=http://%yourproxyhere%:port#

3) Changing each https entry in the /etc/yum.repos.d/*.repo files to http to
make fetching non-secure.

4) Inserting the following into the /etc/hosts file...

80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org

And finally it worked for me.

http://forums.fedoraforum.org/showthread.php?t=223472

No comments:

Post a Comment