How to force yum not to update certain packages?

How to force yum not to update certain packages, such as kernel?

I manually compiled a kernel module for a specific kernel version. As long as it works well, I do not want to update it. Another example is that I want a specific version of sbt.

How to force yum exclude it from being updated.

asked May 25, 2014 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

For exclude kernel and sbt from being updated by yum, adding this line to /etc/yum.conf:

exclude=sbt kernel
answered May 25, 2014 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...