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.

RPM conflicts when I try update to 58.0.13

Discussion in 'General Discussion' started by Rodrigo Gomes, Aug 9, 2016.

Tags:
  1. Rodrigo Gomes

    Rodrigo Gomes Active Member

    Joined:
    Apr 6, 2016
    Messages:
    26
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    I am getting many conflicts when trying to upgrade to the new version (56.0.29 to 58.0.13).

    Follow the log files below:
    - Removed -

    Code:
    [2016-08-09 22:54:22 -0300]     file /usr/lib/python2.7/site-packages/dns/version.pyo from install of cpanel-dnspython-1.12-1.cp1158.x86_64 conflicts with file from package python-dns-1.12.0-1.20150617git465785f.el7.noarch
    [2016-08-09 22:54:22 -0300]     file /usr/lib/python2.7/site-packages/dns/wiredata.pyc from install of cpanel-dnspython-1.12-1.cp1158.x86_64 conflicts with file from package python-dns-1.12.0-1.20150617git465785f.el7.noarch
    [2016-08-09 22:54:22 -0300]     file /usr/lib/python2.7/site-packages/dns/wiredata.pyo from install of cpanel-dnspython-1.12-1.cp1158.x86_64 conflicts with file from package python-dns-1.12.0-1.20150617git465785f.el7.noarch
    [2016-08-09 22:54:22 -0300]     file /usr/lib/python2.7/site-packages/dns/zone.py from install of cpanel-dnspython-1.12-1.cp1158.x86_64 conflicts with file from package python-dns-1.12.0-1.20150617git465785f.el7.noarch
    [2016-08-09 22:54:22 -0300]     file /usr/lib/python2.7/site-packages/dns/zone.pyc from install of cpanel-dnspython-1.12-1.cp1158.x86_64 conflicts with file from package python-dns-1.12.0-1.20150617git465785f.el7.noarch
    [2016-08-09 22:54:22 -0300]     file /usr/lib/python2.7/site-packages/dns/zone.pyo from install of cpanel-dnspython-1.12-1.cp1158.x86_64 conflicts with file from package python-dns-1.12.0-1.20150617git465785f.el7.noarch
    [2016-08-09 22:54:22 -0300]     file /usr/lib/python2.7/site-packages/dnspython-1.12.0-py2.7.egg-info from install of cpanel-dnspython-1.12-1.cp1158.x86_64 conflicts with file from package python-dns-1.12.0-1.20150617git465785f.el7.noarch
    [2016-08-09 22:54:22 -0300]   see https://go.cpanel.net/rpmcheckfailed for more information
    [2016-08-09 22:54:22 -0300]   The Administrator will be notified to review this output when this script completes
    => Log closed Tue Aug  9 22:54:22 2016
    [2016-08-09 22:54:23 -0300]   17% complete
    [2016-08-09 22:54:23 -0300] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1470793740.log` failed, exited with code 1 (signal = 0)
    => Log closed Tue Aug  9 22:54:25 2016
    => Log closed Tue Aug  9 22:54:25 2016
    
    Code:
    /etc/redhat-release:CentOS Linux release 7.2.1511 (Core)
    /usr/local/cpanel/version:11.56.0.29
    /var/cpanel/envtype:kvm
    CPANEL=release
    Server version: Apache/2.4.23 (Unix)
    Server built:   Aug  9 2016 15:38:41
    Cpanel::Easy::Apache v3.34.3 rev9999
    PHP 5.6.24 (cli) (built: Aug  9 2016 15:43:45)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
        with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd.
        with Suhosin v0.9.38, Copyright (c) 2007-2015, by SektionEins GmbH
    mysql  Ver 14.14 Distrib 5.6.30, for Linux (x86_64) using  EditLine wrapper
    
    I'm not sure how to solve this, someone could help me?
     
    #1 Rodrigo Gomes, Aug 9, 2016
    Last edited by a moderator: Aug 10, 2016
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Near the bottom of the log is this line with a link that you should find useful:
    Code:
    [2016-08-09 22:54:22 -0300]  see https://go.cpanel.net/rpmcheckfailed for more information
     
  3. Rodrigo Gomes

    Rodrigo Gomes Active Member

    Joined:
    Apr 6, 2016
    Messages:
    26
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Has too many errors of conflict, making impossible the recommended solution on this page.

    Please find attached the full log file.
     

    Attached Files:

    • log.txt
      File size:
      488.2 KB
      Views:
      3
    #3 Rodrigo Gomes, Aug 10, 2016
    Last edited: Aug 10, 2016
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I saw the full logfile you posted earlier and snipped it down to fit some of it into your first post for you.
    Do you receive an error message when running the command as described, if so whats that error?
     
  5. Rodrigo Gomes

    Rodrigo Gomes Active Member

    Joined:
    Apr 6, 2016
    Messages:
    26
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Following these steps (RPM conflicts - Troubleshoot) I don't see any difference on version of python to another server. Both have clean installations without modifications.

    first server:
    Code:
    # rpm -qa ^python
    python-2.7.5-34.el7.x86_64
    
    another server:
    Code:
    # rpm -qa ^python
    python-2.7.5-34.el7.x86_64
    And the error log generates many conflicts messages.

    I'm not sure if I should remove the "python-2.7.5-34.el7.x86_64" to continue the upgrade. And if it will not unconfigure or cause any problems to the server.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The RPM resulting in the conflict based on the error output you provided is:

    python-dns-1.12.0-1.20150617git465785f.el7.noarch

    Are you using this RPM for a third-party application? Or, is it not something you are aware of installing manually?

    Thank you.
     
  7. Rodrigo Gomes

    Rodrigo Gomes Active Member

    Joined:
    Apr 6, 2016
    Messages:
    26
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Maybe is it not something I'm aware of installing manually.
    What do you recommend I do in this case?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Internal case CPANEL-8027 is open to address an issue where the "python-dns" RPM provided by the operating system conflicts with the "cpanel-dnspython" RPM. This will prevent cPanel from successfully updating. I'll update this thread with more information on this case as it becomes available.

    In the meantime, the temporary workaround is to manually remove the "python-dns" RPM provided by the OS, assuming it's not required for third-party applications. Here's an example of how to do this via the command line:

    Code:
    rpm -qa|grep python-dns
    This will give you the name of the package. In the example provided by the original poster, the command to remove this RPM is:

    Code:
    rpm -e --nodeps python-dns-1.12.0-1.20150617git465785f.el7.noarch
    This should allow the cPanel update to succeed.

    Thank you.
     
    Rodrigo Gomes likes this.
  9. Rodrigo Gomes

    Rodrigo Gomes Active Member

    Joined:
    Apr 6, 2016
    Messages:
    26
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    This solution works, thanks!
     
    cPanelMichael likes this.
  10. cwhazzoo

    cwhazzoo Registered

    Joined:
    Sep 9, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    So I have been trying to upgrade from WHM 58.0 (build 25) to WHM 58.0 (build 27) and I keep getting the following error:

    Code:
    [2016-09-09 03:59:54 -0600] ***** FATAL: Error testing if the RPMs will install: Test install failed: error: Failed dependencies:
    [2016-09-09 03:59:54 -0600]     python-dns >= 1.11.1 is needed by (installed) ipa-client-4.2.0-15.0.1.el7.centos.19.x86_64
    I went ahead and tried running:
    #yum -y install python-dns

    That ends up returning the following:
    Code:
    file /usr/lib/python2.7/site-packages/dnspython-1.12.0-py2.7.egg-info from install of python-dns-1.12.0-1.20150617git465785f.el7.noarch conflicts with file from package cpanel-dnspython-1.12-1.cp1158.x86_64
    I then ran:
    #yum list installed | grep python-dns

    And that returned no results so it does appear that it is not installed. Not quite sure how to solve this one. Any help is appreciated :)
     
    #10 cwhazzoo, Sep 9, 2016
    Last edited by a moderator: Sep 9, 2016
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, internal case CPANEL-8027 was published in cPanel version 58.0.26:

    Fixed case CPANEL-8027: Update cpanel-dnspython to 1.12-2.cp1158.

    However, it looks like a compatibility issue exists with the ipa-client package:


    Could you verify if the ipa-client package is utilized on your system for a specific purpose? If not, you can remove the "ipa-client" package on your system with the following command:

    Code:
    yum remove ipa-client
    This should allow the cPanel update to successfully complete. Otherwise, if you do require the ipa-client package and don't require Mailman, you can temporarily remove ipa-client with the above command, proceed to update cPanel, and then run the following commands to reinstall it:

    Code:
    /scripts/update_local_rpm_versions --edit target_settings.mailman uninstalled
    /scripts/update_local_rpm_versions --edit target_settings.cpanel-dnspython uninstalled
    /scripts/check_cpanel_rpms --fix
    yum install ipa-client
    Note this workaround disables Mailman on the system.

    Thank you.
     
Loading...

Share This Page