<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Yup, blowing away /var/cache/yum/*, then doing a 
`yum update yum` then a `yum update` fixed it for me.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-Nick</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>--<BR>Nicholas Crawford &lt;<A 
href="mailto:nick@null.net">nick@null.net</A>&gt; / AIM: xxneoaeonxx / <A 
href="mailto:neoaeon@EFnet">neoaeon@EFnet</A> IRC<BR>4096/1024 
Diffie-Hellman/DSS PGP key ID: 0xE62F5E9A 
fingerprint:<BR>&nbsp;&nbsp;&nbsp;&nbsp; DA6F 3DC5 3D24 5FFB 9C40&nbsp; DFD6 
F002 11DC E62F 5E9A<BR>PGP keys via key server or <A 
href="http://www.angelfire.com/linux/neoaeon/pgp/">http://www.angelfire.com/linux/neoaeon/pgp/</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><PRE>I think that's because you are trying to clean when it's confused because
there are no local files to look at to see what to clean...  Try running
'yum update' again now - it should work.  Then 'yum clean' should work as
intended.

-Jeff 

&gt;<I> -----Original Message-----
</I>&gt;<I> From: <A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>yum-bounces at lists.dulug.duke.edu</A> 
</I>&gt;<I> [mailto:<A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>yum-bounces at lists.dulug.duke.edu</A>] On Behalf Of Joe Cooper
</I>&gt;<I> Sent: Friday, December 12, 2003 4:55 PM
</I>&gt;<I> To: Yellowdog Updater, Modified
</I>&gt;<I> Subject: RE: [Yum] What is "non-caching mode" and how do I get there?
</I>&gt;<I> 
</I>&gt;<I> Hi Jeff,
</I>&gt;<I> 
</I>&gt;<I> Thanks for the quick response.
</I>&gt;<I> 
</I>&gt;<I> Already tried that (and I should have mentioned it):
</I>&gt;<I> 
</I>&gt;<I> [<A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>root at oppenheimer</A> yum]# yum -d 5 -e 5 clean Gathering header 
</I>&gt;<I> information file(s) from server(s)
</I>&gt;<I> Server: Fedora Core 1 - i386 - Base
</I>&gt;<I> CacheDir: /var/cache/yum/base
</I>&gt;<I> Error - /var/cache/yum/base/header.info cannot be found 
</I>&gt;<I> Please run yum in non-caching mode to correct this header.
</I>&gt;<I> 
</I>&gt;<I> 
</I>&gt;<I> One extra line of 'crap'.  Not much help there.
</I>&gt;<I> 
</I>&gt;<I> -d 9 has nothing to add.  The problem here, I think, is that 
</I>&gt;<I> yum doesn't think it's doing anything wrong...so not much in 
</I>&gt;<I> the way or errors to report.  ;-)
</I>&gt;<I> 
</I>&gt;<I> "Jeff Sheltren" &lt;<A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>sheltren at cs.ucsb.edu</A>&gt; wrote ..
</I>&gt;<I> &gt; Hi Joe, out of curiosity what gets output when you increase the 
</I>&gt;<I> &gt; debug/error output from yum (using the -d -e flags)?  I think 
</I>&gt;<I> &gt; something like 'yum -d
</I>&gt;<I> &gt; 5
</I>&gt;<I> &gt; -e 5 update' will print out a bunch more 'crap'.  Maybe 
</I>&gt;<I> this will help 
</I>&gt;<I> &gt; trace the problem.
</I>&gt;<I> &gt; 
</I>&gt;<I> &gt; -Jeff
</I>&gt;<I> &gt; 
</I>&gt;<I> &gt; &gt; -----Original Message-----
</I>&gt;<I> &gt; &gt; From: <A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>yum-bounces at lists.dulug.duke.edu</A> 
</I>&gt;<I> &gt; &gt; [mailto:<A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>yum-bounces at lists.dulug.duke.edu</A>] On Behalf Of Joe Cooper
</I>&gt;<I> &gt; &gt; Sent: Friday, December 12, 2003 4:19 PM
</I>&gt;<I> &gt; &gt; To: <A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>yum at lists.dulug.duke.edu</A>
</I>&gt;<I> &gt; &gt; Subject: [Yum] What is "non-caching mode" and how do I get there?
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; &gt; Hi Seth and all,
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; &gt; I've got a weird bit of behavior (weird to me, anyway, though I'm 
</I>&gt;<I> &gt; &gt; getting what must look to someone like a sane error
</I>&gt;<I> &gt; &gt; message) after an upgrade of an RH9 box to Fedora Core 1 
</I>&gt;<I> via yum.  I 
</I>&gt;<I> &gt; &gt; started getting this error from yum:
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; &gt; [<A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>root at oppenheimer</A> root]# yum update
</I>&gt;<I> &gt; &gt; Gathering header information file(s) from server(s)
</I>&gt;<I> &gt; &gt; Server: Fedora Core 1 - i386 - Base
</I>&gt;<I> &gt; &gt; Traceback (most recent call last):
</I>&gt;<I> &gt; &gt;   File "/usr/bin/yum", line 60, in ?
</I>&gt;<I> &gt; &gt;     yummain.main(sys.argv[1:])
</I>&gt;<I> &gt; &gt;   File "yummain.py", line 188, in main
</I>&gt;<I> &gt; &gt;   File "clientStuff.py", line 766, in 
</I>&gt;<I> get_package_info_from_servers
</I>&gt;<I> &gt; &gt;   File "clientStuff.py", line 103, in HeaderInfoNevralLoad
</I>&gt;<I> &gt; &gt; ValueError: unpack list of wrong size
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; &gt; So I decided (brilliantly, if I do say so myself), to delete the 
</I>&gt;<I> &gt; &gt; /var/cache/yum/* directories.  This has worked in the 
</I>&gt;<I> distant past 
</I>&gt;<I> &gt; &gt; when yum has had corrupted bits and complained about them, so I 
</I>&gt;<I> &gt; &gt; figured it would work again.
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; &gt; Alas, it was not to be.  Now I get the following:
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; &gt; [<A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>root at oppenheimer</A> yum]# yum clean all Gathering header 
</I>&gt;<I> information 
</I>&gt;<I> &gt; &gt; file(s) from server(s)
</I>&gt;<I> &gt; &gt; Server: Fedora Core 1 - i386 - Base
</I>&gt;<I> &gt; &gt; Error - /var/cache/yum/base/header.info cannot be found 
</I>&gt;<I> Please run 
</I>&gt;<I> &gt; &gt; yum in non-caching mode to correct this header.
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; &gt; This looks like very sane and sensible advice.  But my yum and 
</I>&gt;<I> &gt; &gt; yum.conf man pages have nothing about a non-caching mode, 
</I>&gt;<I> and a web 
</I>&gt;<I> &gt; &gt; search only turns up a snippet of a clientStuff.py patch with 
</I>&gt;<I> &gt; &gt; nothing about enabling this illusive mode.  The yum 
</I>&gt;<I> --help mentions 
</I>&gt;<I> &gt; &gt; the -C switch for enabling caching, but that doesn't seem 
</I>&gt;<I> the right 
</I>&gt;<I> &gt; &gt; solution since yum is telling me to do the opposite.
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; &gt; Anyone have a clue they can lend me?
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; &gt; BTW-The yum is version 2.0.4-2 as it comes from Fedora.
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; &gt; Thanks!
</I>&gt;<I> &gt; &gt; --
</I>&gt;<I> &gt; &gt; Joe Cooper &lt;<A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>joe at swelltech.com</A>&gt;
</I>&gt;<I> &gt; &gt; Web caching appliances and support
</I>&gt;<I> &gt; &gt; <A href="http://www.swelltech.com/" target=_self>http://www.swelltech.com</A>
</I>&gt;<I> &gt; &gt; 
</I>&gt;<I> &gt; 
</I>&gt;<I> &gt; _______________________________________________
</I>&gt;<I> &gt; Yum mailing list
</I>&gt;<I> &gt; <A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>Yum at lists.dulug.duke.edu</A>
</I>&gt;<I> &gt; <A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>https://lists.dulug.duke.edu/mailman/listinfo/yum</A>
</I>&gt;<I> 
</I>&gt;<I> Joe Cooper &lt;<A href="https://lists.dulug.duke.edu/mailman/listinfo/yum" target=_self>joe at swelltech.com</A>&gt;
</I>&gt;<I> Web caching appliances and support
</I>&gt;<I> <A href="http://www.swelltech.com/" target=_self>http://www.swelltech.com</A>
</I>&gt;<I> 
</I></PRE></DIV></BODY></HTML>