0

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?

1

It's done with yumdb set installonly keep kernel-2.6.32-279.el6.x86_64 command.

1

By default, yum leaves three kernel versions around, and has safeguards against removing the running kernel (and a few other critical system components).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.