Bug 190936 - weak proxy configuration
Summary: weak proxy configuration
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 5
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2006-05-06 21:32 UTC by Piergiorgio Sartor
Modified: 2014-01-21 22:54 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2006-09-18 20:33:11 UTC

Attachments (Terms of Use)

Description Piergiorgio Sartor 2006-05-06 21:32:18 UTC
Description of problem:
In a PC using a proxy to connect to internet, yum must be configured
properly in order to use the proxy.
This can be done by adding the "proxy" command to yum.conf.
Problem is that, in order to scan all the possible mirrrors, also the
ftp proxy should work, otherwise yum fails, and the ftp proxy cannot
be added to the http proxy in yum.conf (at least I could not find any
way to do it).

Version-Release number of selected component (if applicable):

How reproducible:
Always, as far as I could test.

Steps to Reproduce:
Add the command "proxy=..." to yum.conf
Try something like "yum update"
Actual results:
yum fails with some error like:

Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core

Expected results:
The repository schould be scanned and the update (in this example) occur.

Additional info:
Exporting http_proxy=... and ftp_proxy=... separately works.
So, the problem is either in the documentation, or in the config file.

Comment 1 Seth Vidal 2006-05-06 22:09:23 UTC
try out yum 2.6.1 just released in the updates repository - see if it works for you.

Comment 2 Piergiorgio Sartor 2006-05-08 19:25:52 UTC
I tried just today the yum 2.6.1 and I must say that, while the
problem is not visible anymore, it seems to me that it is just
masked and not really solved.
If I understand correctly, now yum will not gave up when some
ftp mirrot is not found, due to the missing proxy.
I think it would be a better solution to have the possibilty to
define http and ftp proxies separately in yum.conf.
Maybe a TODO item for yum 2.7.0...

Note You need to log in before you can comment on or make changes to this bug.