yum clean all doesn't seem to work

Jonathan Ryshpan jonrysh at pacbell.net
Tue Apr 4 06:20:17 UTC 2006


I have about 5 Gbytes of old RPMs in directories under /var/cache/yum,
which I would like to clean out.  None of these commands seems to do the
job:
        # yum clean cache
        # yum clean cache --enablerepo='*'
        # yum clean all
        # yum clean all --enablerepo='*'

I'm reluctant to do
        # cd /var/cache/yum
        # find -name '*.rpm' | xargs rm
if there's some way to remove the RPMs with yum.

Any ideas?

Thanks - jon




More information about the users mailing list