Red Hat Bugzilla – Bug 494864
no way to give proxy option to yum easily
Last modified: 2014-01-21 18:08:48 EST
Description of problem:
When you are behind a proxy server to access the world you have to give the option 'proxy=http://proxy.mydomain:port' in the /etc/yum.conf file.
However you have to edit manually this file since no GUI tool can give this option.
The 'Software Update Preferences' and 'Software Sources' tools does not give any option to specify an proxy, and the proxy preferences in 'Network Proxy Preferences' are just ignored.
A more user friendly tool is necessary here.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.be behind a proxy server
2.try to use yum or the 'Update System' tool
fails due to being unable to get the repositories
yum uses the proxy preference defined in 'Network Proxy Preferences' or a new option in 'Software Sources'
You can also define the proxy environment variable which yum will honor, like most other applications on the system do.
This is also true, but nevertheless you have to manually edit your .profile or your /etc/yum.conf, a graphical tool would be much more user-friendly for this.
you can just set the proxy value on the commandline
PROXY=http://myproxy/ yum install foo
if you want a graphical app for setting environment variables I think you'll need to find a program dedicated to doing that b/c I don't think it is a yum bug.