[CentOS] LIMITING NUMBER OF KERNEL VERSIONS RETAINED - CLOSED

Sun Jan 13 18:59:11 UTC 2008
Chris Geldenhuis <chris.gelden at iafrica.com>

Bart Schaefer wrote:
> On 1/13/08, Alfred von Campe <alfred at von-campe.com> wrote:
>   
>> What you want is:
>>
>>    # yum instal yum-utils
>>
>> followed by:
>>
>>    # package-cleanup --oldkernels [--count=x]
>>
>> where x defaults to "2" (i.e., keep two older kernels).
>>     
>
> I recently discovered that if you have both the uniprocessor and SMP
> kernel packages installed, which I believe is the default behavior,
> then package-cleanup won't remove the SMP packages.  I had to rpm -e
> those myself.
>
> Maybe there's some other reason that it missed those ...
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>   
Thanks for the quick replies everybody, I will follow Alfred's suggestion.

ChrisG