why doesn't yum cache anything?

Michael Schwendt fedora at wir-sind-cool.org
Fri Dec 31 09:13:57 UTC 2004


On Thu, 30 Dec 2004 22:50:26 -0800, Jamie Zawinski wrote:

> Sean Middleditch wrote:
> > 
> > The problem you're perceiving (slow operation as yum starts up) isn't at
> > all due to lack of caching, but perhaps very inefficient handling of the
> > cache - a lot of data has to be parsed and such, when it could perhaps
> > be stored in a more ready-to-process format.
> 
> It takes *nearly a minute* to do that!  I'm on a 2GHz machine.
> If it's not hitting the net, what's it doing, raytracing?

$ time sudo yum install blurb
Setting up Install Process
Setting up Repo:  fedora-extras-local
repomd.xml                100% |=========================|  951 B    00:00     
Setting up Repo:  base
repomd.xml                100% |=========================|  951 B    00:00     
Setting up Repo:  updates-released
repomd.xml                100% |=========================|  951 B    00:00     
Reading repository metadata in from local files
fedora-ext: ################################################## 421/421
base      : ################################################## 1652/1652
updates-re: ################################################## 405/405
No Match for argument blurb
Nothing to do

real    0m9.838s
user    0m6.556s
sys     0m0.674s


And yes, this machine is clocked at less than 2 GHz, and no dependency
calculation included.




More information about the fedora-devel-list mailing list