Yum 2.2 w/ HTTP proxy fails w/ error "Cannot find a valid baseurl for repo:"

Paul Howarth paul at city-fan.org
Wed Mar 30 07:40:09 UTC 2005


On Tue, 2005-03-29 at 22:35 +0100, Mike Fleetwood wrote:
> Recently "yum check-update" and "yum update" has started producing the
> error "Cannot find a valid baseurl for repo: ...".  Googling suggests
> that other occurrences have been caused by network connectivity errors
> or miss configured yum repository locations.  I am convinced that in my
> case it is yum 2.2's inability to successfully download files through a
> HTTP proxy that is the problem.  To work around the problem I
> reinstalled yum 2.1 and upgrade using "yum --exclude=yum update".

yum 2.2 provides a way to specify the proxy globally or separately for
each repo if required (see "man yum.conf"). Did you try that?

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the users mailing list