Bug 494864

Summary: no way to give proxy option to yum easily
Product: [Fedora] Fedora Reporter: stef <stephane.tranchemer>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, james.antill, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-08 13:01:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description stef 2009-04-08 12:55:33 UTC
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):
ALL

How reproducible:
always

Steps to Reproduce:
1.be behind a proxy server
2.try to use yum or the 'Update System' tool
3.
  
Actual results:
fails due to being unable to get the repositories

Expected results:
yum uses the proxy preference defined in 'Network Proxy Preferences' or a new option in 'Software Sources'

Additional info:

Comment 1 seth vidal 2009-04-08 13:01:47 UTC
You can also define the proxy environment variable which yum will honor, like most other applications on the system do.

Comment 2 stef 2009-04-08 13:22:19 UTC
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.

Comment 3 seth vidal 2009-04-08 13:36:02 UTC
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.