re-Yum Problem

John Fox fedora at australmailco.com
Wed Jan 12 20:48:21 UTC 2005


"rpm -q yum=yum-2.0.3-0.fdr.1.rh90   

cat yum.conf=   

# See the yum.conf(5) man page for information the syntax of
this file, 
# including failover setup.   

[main] 
cachedir=/var/cache/yum 
debuglevel=2
logfile=/var/log/yum.log 
pkgpolicy=newest 
distroverpkg=redhat-release
tolerant=1 
exactarch=1 
exclude=kernel*  

 [base] 
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://download.fedoralegacy.org/redhat/$releasever/os/$basearch
gpgcheck=1   

[updates] name=Red Hat Linux $releasever - $basearch - updates
baseurl=http://download.fedoralegacy.org/redhat/$releasever/updates/$basearch
gpgcheck=1  
 
Regards,     

John Fox.     
> 
> ______________________________________________________________________
Here from testing - which works properly:

$ rpm -q yum
yum-2.0.3-0.fdr.1.rh90

/etc/yum.conf contains (the failover addresses commented out for
testing):

[base]
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://download.fedoralegacy.org/redhat/$releasever/os/$basearch/
#      
http://ftp-stud.fht-esslingen.de/pub/Mirrors/download.fedoralegacy.org/redhat/$releasever/os/$basearch/
#      
http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/os/
gpgcheck=1
 
[updates]
name=Red Hat Linux $releasever - $basearch - updates
baseurl=http://download.fedoralegacy.org/redhat/$releasever/updates/$basearch/
#      
http://ftp-stud.fht-esslingen.de/pub/Mirrors/download.fedoralegacy.org/redhat/$releasever/updates/$basearch/
#      
http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/updates/
gpgcheck=1

$ yum -d 5 update
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
CacheDir: /var/cache/yum/base
Getting header.info from server
failover: baseURL =
http://download.fedoralegacy.org/redhat/9/os/i386/
failover: path = headers/header.info
headerinfofn: /var/cache/yum/base/header.info
Server: Red Hat Linux 9 - i386 - updates
CacheDir: /var/cache/yum/updates
Getting header.info from server
failover: baseURL =
http://download.fedoralegacy.org/redhat/9/updates/i386/
failover: path = headers/header.info
headerinfofn: /var/cache/yum/updates/header.info
Finding updated packages

I suggest: rm -rf /var/cache/yum/*
and put a trailing slash at the end of each baseurl entry (just
to be
sure).

As being Australian I recommend setting up the Australian mirror
servers in yum.conf and maybe the fedoralegacy.org main server
as a failover baseurl.

            --------------------------------------------

Hi,
 sorry about the html I thought I was sending text, so I hope
that this is in text.

I followed the instructions above but I am still getting the
original error message.

Regards,

John fox.




More information about the fedora-legacy-list mailing list