I posted a reply in
another thread on how to do this by editting your yum.conf to set this globally so you don't have to keep typing the --exclude flag. Adding
to the [main] section of your /etc/yum.conf will do this, e.g.:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
exclude=postfix
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d