[Yum] misleading output with "-C" option

seth vidal skvidal at phy.duke.edu
Mon Dec 29 04:14:49 UTC 2003


> Gathering header information file(s) from server(s)
> Server: Fedora 1 - Base
> Server: Fedora 1 - Stable
> Server: Fedora 1 - Testing
> Server: Fedora 1 - Unstable
> Server: Fedora 1 - Updates
> Server: Fedora 1 - Updates testing
> Server: Freshrpms 1 - Freshrpms
> Server: Freshrpms 1 - Testing Updates
> Server: Freshrpms 1 - Updates
> Server: Livna 1 - updates
> Finding updated packages
> Downloading needed headers
> ... lots of installed packages listed here ...
> 
>   in all fairness, based on how quickly it runs, it seems that the command
> isn't really consulting the repos, but still, it's confusing to get the
> impression that it is.  is there a reason for this?

It's parsing the Cached files. And checking the cached headers. Just b/c
they are on the local disk doesn't mean their not corrupt. So yum has to
check the files and the headers. In caching mode if it finds a corrupt
header it deletes the header(if it can) and removes the file from the
available database.

The downloading and the checking are the same function, more or less.

-sv





More information about the Yum mailing list