[TriLUG] yum cache

Christopher L Merrill chris at webperformance.com
Mon Sep 18 08:32:47 EDT 2006


I was attempting to update my FC4 box last night and ran into problems
because there was no space for installing the 860M of updates (yeah, yeah, I
know...I haven't been keeping up-to-date).  Thinking there should have been
plenty of space, I started poking around and found >3G of stuff in
/var/cache/yum.  Since the just-downloaded updates accounted for only 806M
of that, I'm guessing the rest was from previous updates.

Is this normal?  Does yum keep copies of previously-installed packages in
there?  If so, is there a less-than-obvious setting that will instruct yum
to clean up after itself?  I saw an option like "-obsoletes" that would
remove obsolete packages -- and this allowed the update to run successfully,
but it did not clean the cache.  Is it save to just delete everything
under /var/cache/yum after a successful update?

TIA,
C


-- 
------------------------------------------------------------------------ -
Chris Merrill                           |  Web Performance, Inc.
chris at webperformance.com                |  http://webperformance.com
919-433-1762                            |  919-845-7601

Website Load Testing and Stress Testing Software & Services
------------------------------------------------------------------------ -



More information about the TriLUG mailing list