Skip to main content

RPM conflicts when I try update to 58.0.13

Comments

10 comments

  • Infopro
    Near the bottom of the log is this line with a link that you should find useful:
    [2016-08-09 22:54:22 -0300] see https://go.cpanel.net/rpmcheckfailed for more information
    0
  • Rodrigo Gomes
    Near the bottom of the log is this line with a link that you should find useful:
    [2016-08-09 22:54:22 -0300] see https://go.cpanel.net/rpmcheckfailed for more information

    Has too many errors of conflict, making impossible the recommended solution on this page. Please find attached the full log file.
    0
  • Infopro
    I saw the full logfile you posted earlier and snipped it down to fit some of it into your first post for you.
    making impossible the recommended solution

    Do you receive an error message when running the command as described, if so whats that error?
    0
  • Rodrigo Gomes
    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?

    Following 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.
    0
  • cPanelMichael
    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.
    0
  • Rodrigo Gomes
    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.

    Maybe is it not something I'm aware of installing manually. What do you recommend I do in this case?
    0
  • cPanelMichael
    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:
    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:
    rpm -e --nodeps python-dns-1.12.0-1.20150617git465785f.el7.noarch
    This should allow the cPanel update to succeed. Thank you.
    0
  • Rodrigo Gomes
    This solution works, thanks!
    0
  • cwhazzoo
    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:
    [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:
    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 :)
    0
  • cPanelMichael
    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:
    [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

    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:
    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:
    /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.
    0

Please sign in to leave a comment.