yum clean all doesn't seem to work

Timothy Murphy tim at birdsnest.maths.tcd.ie
Tue Apr 4 11:57:12 UTC 2006


Jonathan Ryshpan wrote:

> 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?

As a half-way house, couldn't you remove them with "rpm -e"?
Presumably this would be noted in /var/log/rpmpkgs .


-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the fedora-list mailing list