[Yum] how does one run yum in "non-caching" mode?
seth vidal
skvidal at phy.duke.edu
Sat Mar 20 19:26:53 UTC 2004
On Sat, 2004-03-20 at 14:13 -0500, Robert P. J. Day wrote:
> after i cleaned up my yum.conf file, everything i try now gives me
> numerous "failover" errors, like:
>
> # yum list updates
> Gathering header information file(s) from server(s)
> Server: Fedora Core 1 - i386 - Base
> Getting header.info from server
> failover: baseURL = http://rpmfind.net/linux/fedora/core/1/i386/os/
> ^^^ no, it's actually spelled "baseurl" in the file :-)
> failover: path = headers/header.info
> Server: Fedora Core 1 - i386 - Released Updates
> Getting header.info from server
> failover: baseURL =
> http://rpmfind.net/linux/fedora/core/updates/1/i386/os/
> failover: path = headers/header.info
> retrygrab() failed for:
>
> http://rpmfind.net/linux/fedora/core/updates/1/i386/os/headers/header.info
> Executing failover method
> failover: out of servers to try
> Error getting file
> http://rpmfind.net/linux/fedora/core/updates/1/i386/os/headers/header.info
> [Errno 4] IOError: HTTP Error 404: Not Found
>
> i tried to completely clean my local cache, both with "yum clean" and
> just plain "rm -rf", and start from scratch, and now i get:
>
> # yum clean
>
> Gathering header information file(s) from server(s)
> Server: Fedora Core 1 - i386 - Base
> Using cached header.info file
> Server: Fedora Core 1 - i386 - Released Updates
> Error - /var/cache/yum/updates-released/header.info cannot be found
> Please run yum in non-caching mode to correct this header.
>
>
yum clean is always run in caching-mode.
yes it's kinda silly error, but if you ran a yum clean you have no
header.info files.
just run a yum list
it will get the header.info files for you.
-sv
More information about the Yum
mailing list