can yum remove old packages?

Philip Moller phmo at punkt.se
Wed Sep 7 00:12:50 UTC 2005


sean wrote:

> Rex Dieter wrote:
>
>> sean wrote:
>>
>>> on a yum update,  yum didn't do cleanup.
>>>
>>> Now I have a lot of duplicate packages, e.g.:
>>>
>>>  rpm -q libidn-devel
>>> libidn-devel-0.5.6-1
>>> libidn-devel-0.5.15-1
>>>
>>> How can I erase all the old packages?
>>
>>
>>
>> I know of no easy automatic way to do it, other than manually.  In 
>> this case,
>> rpm -e libidn-devel-0.5.6-1
>>
>> -- Rex
>>
>
> That may be a life's work. It was in the middle of a fc3->fc4 upgrade. 
> Over 300 packages updated.
>
> Sigh.
>
> sean
>
well, try (as root) :
# yum clean all




More information about the users mailing list