Jun 232013
 

Here is a quick little one liner to check what the excludes policy on a CentOS cPanel server is:

#wget -q http://centos.karan.org/check_excludes.py -O - | python

Loaded plugins: priorities, protectbase, rhnplugin main: ['bind-chroot',
'courier*', 'dovecot*', 'exim*', 'filesystem', 'httpd*', 'mod_ssl*',
'mydns*', 'mysql*', 'nsd*', 'perl*', 'php*', 'proftpd*', 'pure-ftpd*',
'ruby*', 'spamassassin*', 'squirrelmail*']
epel - []
rpmforge - []
system-base - []
system-updates-released - []

This will output the policy in a clean format for each repository enabled on the server, along with the exclude setup for that repo.

Remember: the “main:” section in yum is the global system/repowide config settings and anything listed within there would be excluded from all repository updates.

Share This!
 Posted by at 2:01 pm

Sorry, the comment form is closed at this time.