Fedora14 behind a proxy | solved

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0Pinterest0StumbleUpon0Digg

Question:

How to use Yum behind a proxy in Fedora14  ?

When i try to use yum update behind a proxy i got this error:

[root@unixmen-Fedora14 ~]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

Answer:

As root Edit  /etc/yum.conf with  vi, nano  or  gedit.

vi  /etc/yum.conf

and add this line  :

proxy=http://ip:port/

If you connect with login and pass , should be

proxy=http://user:pass@hostproxy:port/

save  and  exit

Now try  again to  install or  update  your   system

(It is  working also  For  Fedora 12  and  13)

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0Pinterest0StumbleUpon0Digg