cPanel yum.conf exclude is useful?

planetjoin

Well-Known Member
Oct 14, 2003
81
5
158
cPanel Access Level
Root Administrator
Hello

i have cloudlinux installed in my servers.
In Cl panel appears i have outdated packages.. like dovecot and some perl packages.
When i try to update its, apparently all goes fine with no errors but never update its.

with the cloudlinux support we discovered that happening this because dovecot is on the yum.conf exclude line , also in one of my servers appears perl* too in that line.

In the server where NOT appears perl* i have only dovecot to install, in the servers where perl* is on the exlude line, i have 47 packages to update (1 x dovecot and 46 x perl).

My question is :

Is ok to comment the entire exlude line in yum.conf to udpate all packages or it can breaks something in whm/cpanel?

my current exclude line in yum.conf is :

exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* p0f php* proftpd* pure-ftpd* spamassassin* squirrelmail*
So.. none of those packages will be updated thru yum ;(

Thanks in advance
Regards
Fabian
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

It's by-design that Dovecot is excluded as a package in the /etc/yum.conf file because it's distributed through the cPanel RPM system:

The rpm.versions System - Documentation - cPanel Documentation

Using an OS-provided dovecot RPM is not supported. As for Perl, here's a document explaining how Perl is utilized in cPanel:

Guide to Perl in cPanel - Perl Environments - Software Development Kit - cPanel Documentation

It's only added to the "exclude=" line if the system's Perl installation was altered from it's default state (this is more common on older systems).

Thank you.