Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel yum.conf exclude is useful?

Discussion in 'General Discussion' started by planetjoin, Jul 29, 2017.

  1. planetjoin

    planetjoin Well-Known Member

    Oct 14, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    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 :

    So.. none of those packages will be updated thru yum ;(

    Thanks in advance
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    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.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice