Sugg: Improve for mock (caching)

seth vidal skvidal at phy.duke.edu
Thu Nov 3 21:22:16 UTC 2005


On Thu, 2005-11-03 at 22:14 +0100, Jochen Schmitt wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thu, 03 Nov 2005 15:20:30 -0500, you wrote:
> 
> >You are using yum 2.4.X, right?
> 
> Yes.
> 
> On apt there was a command like
> 
> $ apt-get update
> 
> to update the metadata.

this was cited, repeatedly, as an example of a major interface flaw.
Users don't want to remember to update their metadata before they ask to
install something.
They just want to install it.


> After the you could call apt to install a package and as far as I
> remember the overhead was small i opposite of yum.

On any given consecutive run of yum the overhead should be:
1. contact hosts and retrieve repomd.xml
2. if the repomd.xml is unchanged, open the sqlite files
3. if the repomd.xml is updated, then update the metadata.
but that's it. In most of the cases it should just go directly to the
sqlite files.

Are you seeing a problem with gathering the repomd.xml files?

-sv






More information about the fedora-extras-list mailing list