How do I version lock, or prevent Cloudbees CI from being automatically upgraded on RHEL with yum update?

1 minute readKnowledge base

Issue

Any upgrades to RHEL or yum based package management distribution of linux should not upgrade CloudBees CI on traditional platforms.

Typically yum update upgrades all pacakges with available updates, and this can cause contention on production systems where upgrades of specific packages need to be done in a controlled manner. The problem has two main methods of resolution below.

Resolution 1 (preferred): Restricting a Package to a Fixed Version Number with yum

Resolution 2: How do I exclude kernel or other packages from getting updated in Red Hat Enterprise Linux while updating system via yum?