RPM conflicts with python-dns
Hello, I'm facing this problem again.
But this time it's to update to the latest release (1611) of CentOS.
After ran: yum update
I got this error: - Removed -
Some additional informations:
After put python-dns in exclude of /etc/yum.conf file: exclude=courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* php* proftpd* pure-ftpd* spamassassin* squirrelmail* python-dns* I got this error bellow:
I've removed this package before, but now CentOS wants to install it again for the update. What is the recommendation that I should follow here?
Transaction check error:
file /usr/lib/python2.7/site-packages/dns/__init__.pyc from install of python-dns-1.12.0-2.20150617git465785f.el7.noarch conflicts with file from package cpanel-dnspython-1.12-2.cp1158.x86_64
file /usr/lib/python2.7/site-packages/dns/rdtypes/ANY/__init__.pyc from install of python-dns-1.12.0-2.20150617git465785f.el7.noarch conflicts with file from package cpanel-dnspython-1.12-2.cp1158.x86_64
Some additional informations:
[~]# rpm -qa|grep python-dns
[~]# rpm -qa ^python
python-2.7.5-39.el7_2.x86_64
[~]# yum deplist python-dns
Plugins loaded: fastestmirror, langpacks, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 74.50.120.123
* base: mirror.umd.edu
* epel: reflector.westga.edu
* extras: centos.mia.host-engine.com
* updates: mirrors.advancedhosters.com
package: python-dns.noarch 1.12.0-2.20150617git465785f.el7
dependency: python(abi) = 2.7
provider: python.x86_64 2.7.5-48.el7
[~]# repoquery --requires --resolve python-dns
python-0:2.7.5-48.el7.x86_64
[~]# repoquery --whatrequires python-dns
hash-slinger-0:2.7-1.el7.noarch
mailman-3:2.1.15-21.el7_1.x86_64
python-kdcproxy-0:0.2.1-1.el7.noarch
python-kdcproxy-0:0.3.2-1.el7.noarch
python2-ipaclient-0:4.4.0-12.el7.centos.noarch
python2-ipaclient-0:4.4.0-14.el7.centos.noarch
python2-ipalib-0:4.4.0-12.el7.centos.noarch
python2-ipalib-0:4.4.0-14.el7.centos.noarch
python2-ipaserver-0:4.4.0-12.el7.centos.noarch
python2-ipaserver-0:4.4.0-14.el7.centos.noarchAfter put python-dns in exclude of /etc/yum.conf file: exclude=courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* php* proftpd* pure-ftpd* spamassassin* squirrelmail* python-dns* I got this error bellow:
Error: Package: python2-ipalib-4.4.0-14.el7.centos.noarch (updates)
Requires: python-dns >= 1.11.1-2I've removed this package before, but now CentOS wants to install it again for the update. What is the recommendation that I should follow here?
-
Hello @Rodrigo Gomes, I've moved this post to it's own thread, as it's now handled with a separate internal case. Internal case CPANEL-10392 is open to address an issue where the cpanel-dnspython package conflicts with any package depending on the OS supplied python-dns package, resulting in YUM updates failing. In the meantime, you could add an additional entry to the exclude= line in /etc/yum.conf for the "python2-ipalib*" package. This will prevent your system from receiving updates to those packages, but should allow YUM to finish without error. I'll update this thread with more information on the status of case CPANEL-10392 as it becomes available. Thank you. 0 -
Hello Michael, I was able to update after add ipa-python-compat* in an additional entry to the exclude= line in /etc/yum.conf. Thank you! I'll follow up on this internal case. 0 -
Hello, To update, resolutions were published to address this issue. In cPanel version 60.0.31: Fixed case CPANEL-10392: Update cpanel-dnspython to 1.12.0-3.cp1158. In cPanel version 62.0.1: Fixed case CPANEL-10392: Update cpanel-dnspython to 1.12.0-3.cp1158. The full Change Logs are available at: 62 Change Log - Change Logs - cPanel Documentation 0
Please sign in to leave a comment.
Comments
3 comments