I want to update my system by yum command, after executing yum update it wants to update kernel to 2.6.32-431.5.1.el6 version also it wants to remove my oldest kernel version (2.6.32-279.el6).Question: How to prevent YUM from removing my previous kernel versions?
Updating CentOS by YUM command without removing previous version
centos;linux kernel;yum
It's done with yumdb set installonly keep kernel-2.6.32-279.el6.x86_64 command.