repercussions of deleting yum cache

Robin Humble rjh-tkNKonCg4laeFQavDyXPBQ at public.gmane.org
Tue Sep 20 22:08:36 UTC 2005


On Tue, Sep 20, 2005 at 04:40:06PM +0000, Jason Shein wrote:
>On September 20, 2005 07:48 pm, Chris Gow wrote:
>> I've been running low on hard drive space for a while and I just noticed
>> that my yum cache directory is over 2 gigs in size. What would be the
>> repercussions of me either deleting those files or at the very least
>> trimming them down?
>I seem to recall
>#yum clean
>will clean out old packages

you'll need
  yum clean packages
on a modern yum version.

repercussions are zero.

you could also
  rm -rf /var/cache/yum/*
and yum will just re-download all headers it needs and re-munge them
into it's format-de-jour ...
this might save you another 50M or so (did on my box just now)

cheers,
robin
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list