yum chokes looking for irrelevant headers

Joe Christy joe at eshu.net
Fri Feb 20 18:46:26 UTC 2004


For the last day, yum on one of my two FC1 boxen chokes whenever I run it, 
reporting:

...
Finding updated packages
Downloading needed headers
retrygrab() failed for:
 
ftp://ftp.sonic.net/mirrors/fedora/core/updates/1/i386//headers/kernel-smp-0-2.4.22-1.2166.nptl.athlon.hdr
   Executing failover method
retrygrab() failed for:
 
http://mirrors.kernel.org/fedora/core/updates/1/i386/headers/kernel-smp-0-2.4.22-1.2166.nptl.athlon.hdr
   Executing failover method
retrygrab() failed for:
 
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/i386/headers/kernel-smp-0-2.4.22-1.2166.nptl.athlon.hdr
   Executing failover method
failover: out of servers to try
Error getting file 
ftp://ftp.sonic.net/mirrors/fedora/core/updates/1/i386//headers/kernel-smp-0-2.4.22-1.2166.nptl.athlon.hdr
[Errno 4] IOError: HTTP Error 404: Not Found

What strikes me as particularly odd and annoying about this behavior is that 
I'm running kernel-2.4.22-1.2174.nptl on this (i686) box, so that particular 
header should be irrelevant.

I've tried running "yum clean" and "yum clean headers", changing the servers 
listed in my yum.conf, overwriting all the header.info and .hdr files in 
/var/cache/yum/*/ with those from my other FC1 box (which has no such 
problems), all to no avail. I've fruitlessly grepped through all the files in 
/var/cache/yum/ and the output of "rpm -qa" for the string 
"kernel-smp-0-2.4.22-1.2166.nptl.athlon". After running "yum clean headers", I 
verified that all the header.info and *.hdr files were gone from 
/var/yum/cache/. I went to all the archives listed in my yum.conf and sure 
enough, there is no kernel-smp-0-2.4.22-1.2166.nptl.athlon.hdr there.

Any ideas? Are there places other than /etc/yum.conf and /var/cache/yum/ where 
yum keeps its self-concept? Why does yum keep looking for that header file at 
all? Is there some way to get yum to ignore that it?

And the bottom line: How do I get yum to a state where yum update/install/etc. 
will work again?

	Joe





More information about the users mailing list