yum fails for python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
Besides the identified Dell issue 3409271 I also cannot update python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
I get as error that the older version cannot be removed.
What can I do please?
Thanks for help
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Examining python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch.rpm: python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch
Marking python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch.rpm as an update to python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
Resolving Dependencies
--> Running transaction check
---> Package python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 will be updated
---> Package python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================================================
Updating:
python-backports-ssl_match_hostname noarch 3.5.0.1-1.el7 /python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 18 k
Transaction Summary
========================================================================================================================================================================================================
Upgrade 1 Package
Total size: 18 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 1/2
Error unpacking rpm package python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info: cpio: rename
Verifying : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 1/2
python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch was supposed to be removed but is not!
Verifying : python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch 2/2
Failed:
python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7
Complete!
Responses
Hi Stephane,
As far as I can see, there are conflicts between the packages from the Red Hat repositories and those from DELL and from EPEL, that you've added manually. Please check whether it works after you have set both to enabled=0 in the relevant .repo file being located in the /etc/yum.repos.d directory, as a workaround.
Clean up everything with sudo yum clean all and sudo rm -r /var/cache/yum.
Afterwards run sudo yum update - does it work properly now ? Please report back. :)
Regards,
Christian
Exactly this is the problem here, Stephane : TeamViewer 13 (the current edition is still in PREVIEW !) needs these qt5 packages as dependencies. To test if we can get around it, try if you can remove the qt5 packages and reinstall them with EPEL repo being disabled. If this causes further problems, stop the operation by declining with "N" and run yum update with the --skip-broken option. Please tell me which of those two methods worked and which not. By the way :
You're very welcome ... and I'm glad that you appreciate my efforts to help you getting your problems solved ! :)
Regards,
Christian
Here's how I was able to fix it:
# rm -rf /usr/lib/python2.7/site-packages/backports.ssl_match_hostname-3.*
# yum reinstall python-backports-ssl_match_hostname
# yum update
The problem is there were file conflicts left over in the python environment. Unless you installed this with pip manually, I suspect it's a problem with the Red Hat rpm itself not cleaning up after itself.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
