Hello everybody,
One other thing to mention along these lines is how to change how many kernels are retained by Fedora before it removes the oldest one. Edit the yum configuration file,
/etc/yum.conf, and change the value of
installonly_limit.
Code:
[root@localhost ~]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
installonly_limit=2
But I second the notion of keeping at least one old kernel (the Fedora default) because someday and for some reason you will be glad an old kernel is still there after an update. Besides, the kernel and kernel-devel packages themselves are around 22 MB. That's probably just a fraction of what your Internet cache is right now.