Exceptional Yum Upgrades

By:

on

October 19, 2006

We've got this new Xen server and needed to make sure that we weren't making the kernels out of sync with the physical box's kernel version. For this reason we needed to remove the kernel upgrades from yum so that this didn't get installed/upgraded by default.

Modifying the /etc/yum.conf file and adding in this exception in the [main] section did the trick:
exclude=kernel*

Makes it a lot easier to keep track of those files you want to leave as they are.

About The Author

Mike Gifford is the founder of OpenConcept Consulting Inc, which he started in 1999. Since then, he has been particularly active in developing and extending open source content management systems to allow people to get closer to their content. Before starting OpenConcept, Mike had worked for a number of national NGOs including Oxfam Canada and Friends of the Earth.