Issue
I am wondering, how to set proxy in yum.conf file - I specified the proxy in yum.conf file
proxy=http://username:[email protected]:80
If yes , still I am getting the error at "yum update"
[root@localhost ~]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
http://download.fedoraproject.org/pub/fedora/linux/releases/18/Everything/i386/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://download.fedoraproject.org/pub/fedora/linux/releases/18/Everything/i386/os/repodata/repomd.xml
Trying other mirror.
Error: failure: repodata/repomd.xml from fedora: [Errno 256] No more mirrors to try.
http://download.fedoraproject.org/pub/fedora/linux/releases/18/Everything/i386/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://download.fedoraproject.org/pub/fedora/linux/releases/18/Everything/i386/os/repodata/repomd.xml
I tried with setting proxy on bash also, still getting the same error.
export http_proxy="http://username:[email protected]:80"
export https_proxy="http://username:[email protected]:80"
Please help.
Thanks in advance.
Solution
How I have it and it works
in /etc/yum.conf
proxy=http://proxy_host:proxy_port
proxy_username=proxy_username
proxy_password=proxy_password
Answered By - Viva Answer Checked By - Candace Johnson (WPSolving Volunteer)