Making yum Not Update Kernel
We may not want to update kernel on a stable server while updating the application in the system. If we use “yum update”, we may install the new kernel. In this post, how to make yum not update kernel when updating system will be introduced.
The method is simple. Add this line to /etc/yum.conf
exclude=kernel*
“exclude” in /etc/yum.conf lists of packages to exclude from updates or installs. This should be a space separated list. Shell globs using wildcards (eg. * and ?) are allowed.
Author: Zhiqiang Ma
Posted on: May 22, 2010
Views: 652
Tags: Client config, Fedora, Server config, Tip, yum
Tags: Client config, Fedora, Server config, Tip, yum
It’s wnoefdrul to have you on our side, haha!