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!

Excluding packages from UPCP in v64

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

  1. lazynooblet

    lazynooblet Registered

    Aug 16, 2016
    Likes Received:
    Trophy Points:
    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)

    version: 2
    install_targets: {}

    rpm_locations: {}

    srpm_sub_packages: {}

    srpm_versions: {}

    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: is needed by (installed) dovecot-pigeonhole-1:
    [2017-05-20 01:37:38 +0100] is needed by (installed) dovecot-pigeonhole-1:
    [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 Technical Support Community Manager
    Staff Member

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

    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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