[CentOS] LIMITING NUMBER OF KERNEL VERSIONS RETAINED

Bobby bobby at d4business.com
Sun Jan 13 17:27:27 UTC 2008


On Sunday 13 January 2008 08:14:39 Alfred von Campe wrote:
> > Some time ago there was a discussion on the above subject. I have
> > scanned the past few month's mailing list archives and cannot find
> > the relevant mail(s).
> >
> > Could somebody please repost the solution or point me at the
> > correct resource.
>
> What you want is:
>
>    # yum instal yum-utils

Of course you'll handle the typo and type

	yum install yum-utils

(for those who are too literal for their own good : )


> followed by:
>
>    # package-cleanup --oldkernels [--count=x]
>
> where x defaults to "2" (i.e., keep two older kernels).
>
> Alfred
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos



-- 

Bobby



More information about the CentOS mailing list