The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel yum.conf exclude is useful?

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

Tags:
  1. planetjoin

    planetjoin Active Member

    Joined:
    Oct 14, 2003
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    156
    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 :

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

    Thanks in advance
    Regards
    Fabian
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page