How to Exclude Specific Packages from Yum Update
1 min readOct 8, 2019
Exclude Packages with yum Command
suddo yum update --exclude=mysql* --exclude=zabbix*
Exclude Packages from Auto Update
Edit /etc/yum.conf in vi editor
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
exclude=mysql* zabbix*