Preventing dnf/yum from Updating Specific Packages
You may need to prevent certain packages from being updated during system maintenance—the kernel on production servers, or specific library versions you’ve carefully tuned. When you run dnf update or yum update, you want those packages skipped entirely. The solution is straightforward: add an exclusion to DNF or YUM’s configuration file. Configuration Syntax Add this…
