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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Excluding packages from UPCP in v64

Discussion in 'General Discussion' started by lazynooblet, May 20, 2017.

  1. lazynooblet

    lazynooblet Registered

    Joined:
    Aug 16, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Earth
    cPanel Access Level:
    DataCenter Provider
    Since v58 I have been running Dovecot with Pigeonhole to give Sieve support.

    Cpanel has been happily updating automatically since I had performed the following changes to /var/cpanel/rpm.versions.d/local.versions (as discussed here)

    ---
    file_format:
    version: 2
    install_targets: {}

    rpm_locations: {}

    srpm_sub_packages: {}

    srpm_versions: {}

    target_settings:
    dovecot: unmanaged
    dovecot-pigeonhole: unmanaged

    easy-tomcat7: uninstalled
    perl522: uninstalled
    url_templates: {}

    In v64, Cpanel added some features which touch Dovecot and have added a new package requirement, dovecot-xaps.

    Cpanel is now ignoring my local.versions file and attempting to upgrade dovecot for each update (full update log here):

    [2017-05-20 01:37:37 +0100] Testing RPM transaction
    [2017-05-20 01:37:38 +0100] error: Failed dependencies:
    [2017-05-20 01:37:38 +0100] dovecot = 1:2.2.29.1-1.el7.centos is needed by (installed) dovecot-pigeonhole-1:2.2.29.1-1.el7.centos.x86_64
    [2017-05-20 01:37:38 +0100] libdovecot-sieve.so.0()(64bit) is needed by (installed) dovecot-pigeonhole-1:2.2.29.1-1.el7.centos.x86_64
    [2017-05-20 01:37:38 +0100] W Exit Code: 5

    I have tried adding dovecot-xaps to the local.versions file, as both "unmanaged" and "uninstalled", however upcp is being stubborn.

    Currently, to update I am:
    1. Uninstalling CentOS dovecot, dovecot-pigeonhole
    2. Running /scripts/upcp
    3. Uninstalling CPanel dovecot, dovecot-xaps
    4. Installing CentOS dovecot, dovecot-pigeonhole
    5. Running /usr/local/cpanel/scripts/builddovecotconf
    6. Restarting dovecot
    I could potentially disable cpanel updates, and script the above steps, but I'd prefer to use a cpanel supported method.

    How can I have CPanel leave dovecot alone?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look at this issue? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page