Prevent Yum Upgrades in Fedora / Red Hat for select packages

Posted by suvi under CentOS, Fedora

Simple enough, add an exclude line to the end of your [main] section in /etc/yum.conf , and you are done. Your yum.conf should look something like this:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
exclude=gdm pidgin

This will prevent upgrades of the gdm package as well as pidgin. The list of apps in the exclude should be space sepeated.

Read more at TuxTraining

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word