Excluding Packages from Yum Update

When running a ‘yum update’ under CentOS, there are certain packages you may be running which you wish to remain static, or which can potentially cause errors with the update eg. Samba.

In these situations it is useful to force yum to exclude certain packages from being updated under CentOS.

Yum uses a configuration file located at <strong>/etc/yum/yum.conf or /etc/yum.conf

If you wish to exclude packages you need to define a list for exclusion from updates or installs. This should be a space separated list. (Shell globs using wildcards * and ?) are allowed).
Continue reading Excluding Packages from Yum Update