yum fails for python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch

Latest response

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,

What happens when you uninstall and reinstall the package ? Sometimes this is the solution in such cases ... :)

sudo yum remove python-backports-ssl_match_hostname
sudo yum install python-backports-ssl_match_hostname

Regards,
Christian

I started what you propose but yum announced he needed to remove many dependent packages too and I stopped there. Maybe I could remove only the package (rpm --nodeps -e python-backports-ssl_match_hostname) and leave the dependent packages but I am afraid to break dependencies doing so.

Stephane, and what happens when you run sudo yum reinstall python-backports-ssl_match_hostname ?

Regards,
Christian

Did you find any solution? I have the same issue?

@TDC_hosting no solution yet. I am forced to do my yum updates with: sudo yum update --exclude=libsmbios --skip-broken I hope Dell comes with a fix asap, this is annoying to the least...

@Christian, no, the reinstall worked but it did not fix it, see below

splaisan@L-GBW-NUCSRV-1:~$ sudo yum reinstall python-backports-ssl_match_hostname
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Dropbox                                                                                          |  951 B  00:00:00     
Webmin                                                                                           | 1.0 kB  00:00:00     
dell-system-update_dependent                                                                     | 2.3 kB  00:00:00     
dell-system-update_independent                                                                   | 2.3 kB  00:00:00     
epel/x86_64/metalink                                                                             |  29 kB  00:00:00     
google-chrome                                                                                    |  951 B  00:00:00     
teamviewer                                                                                       | 2.5 kB  00:00:00     
virtualbox/signature                                                                             |  181 B  00:00:00     
virtualbox/signature                                                                             | 1.1 kB  00:00:00 !!! 
Resolving Dependencies
--> Running transaction check
---> Package python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                                      Arch            Version                 Repository                   Size
========================================================================================================================
Reinstalling:
 python-backports-ssl_match_hostname          noarch          3.4.0.2-4.el7           rhel-7-server-rpms           12 k

Transaction Summary
========================================================================================================================
Reinstall  1 Package

Total download size: 12 k
Installed size: 14 k
Is this ok [y/d/N]: y
Downloading packages:
python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch.rpm                                     |  12 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch                                             1/1 
  Verifying  : python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch                                             1/1 

Installed:
  python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7                                                            

Complete!


splaisan@L-GBW-NUCSRV-1:~$ sudo yum update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package libsmbios.x86_64 0:2.3.3-2.el7 will be updated
--> Processing Dependency: libsmbios.so.2()(64bit) for package: srvadmin-storage-9.1.0-2757.12163.el7.x86_64
---> Package libsmbios.x86_64 0:2.3.3-6.el7 will be an update
---> 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
---> Package qt5-qtbase.x86_64 0:5.6.2-1.el7 will be updated
--> Processing Dependency: qt5-qtbase(x86-64) = 5.6.2 for package: qt5-qtwebkit-5.6.2-1.el7.x86_64
---> Package qt5-qtbase.x86_64 0:5.9.2-3.el7 will be an update
---> Package qt5-qtbase-common.noarch 0:5.6.2-1.el7 will be updated
---> Package qt5-qtbase-common.noarch 0:5.9.2-3.el7 will be an update
---> Package qt5-qtbase-gui.x86_64 0:5.6.2-1.el7 will be updated
---> Package qt5-qtbase-gui.x86_64 0:5.9.2-3.el7 will be an update
---> Package qt5-qtdeclarative.x86_64 0:5.6.2-1.el7 will be updated
--> Processing Dependency: qt5-qtdeclarative(x86-64) = 5.6.2 for package: qt5-qtwebkit-5.6.2-1.el7.x86_64
---> Package qt5-qtdeclarative.x86_64 0:5.9.2-1.el7 will be an update
---> Package qt5-qtlocation.x86_64 0:5.6.2-1.el7 will be updated
---> Package qt5-qtlocation.x86_64 0:5.9.2-1.el7 will be an update
---> Package qt5-qtquickcontrols.x86_64 0:5.6.2-1.el7 will be updated
---> Package qt5-qtquickcontrols.x86_64 0:5.9.2-1.el7 will be an update
---> Package qt5-qtsensors.x86_64 0:5.6.2-1.el7 will be updated
---> Package qt5-qtsensors.x86_64 0:5.9.2-1.el7 will be an update
---> Package qt5-qtwebchannel.x86_64 0:5.6.2-1.el7 will be updated
---> Package qt5-qtwebchannel.x86_64 0:5.9.2-1.el7 will be an update
---> Package qt5-qtx11extras.x86_64 0:5.6.2-1.el7 will be updated
---> Package qt5-qtx11extras.x86_64 0:5.9.2-1.el7 will be an update
---> Package qt5-qtxmlpatterns.x86_64 0:5.6.2-1.el7 will be updated
---> Package qt5-qtxmlpatterns.x86_64 0:5.9.2-1.el7 will be an update
---> Package smbios-utils-bin.x86_64 0:2.3.3-2.el7 will be updated
---> Package smbios-utils-bin.x86_64 0:2.3.3-6.el7 will be an update
---> Package xdg-user-dirs.x86_64 0:0.15-4.el7 will be updated
---> Package xdg-user-dirs.x86_64 0:0.15-5.el7 will be an update
--> Finished Dependency Resolution
Error: Package: srvadmin-storage-9.1.0-2757.12163.el7.x86_64 (@dell-system-update_dependent)
           Requires: libsmbios.so.2()(64bit)
           Removing: libsmbios-2.3.3-2.el7.x86_64 (@epel)
               libsmbios.so.2()(64bit)
           Updated By: libsmbios-2.3.3-6.el7.x86_64 (rhel-7-server-rpms)
               Not found
           Available: libsmbios-2.3.1-2757.12163.el7.x86_64 (dell-system-update_dependent)
               libsmbios.so.2()(64bit)
Error: Package: qt5-qtwebkit-5.6.2-1.el7.x86_64 (@epel)
           Requires: qt5-qtbase(x86-64) = 5.6.2
           Removing: qt5-qtbase-5.6.2-1.el7.x86_64 (@rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.6.2-1.el7
           Updated By: qt5-qtbase-5.9.2-3.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.9.2-3.el7
           Available: qt5-qtbase-5.6.1-10.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.6.1-10.el7
Error: Package: qt5-qtwebkit-5.6.2-1.el7.x86_64 (@epel)
           Requires: qt5-qtdeclarative(x86-64) = 5.6.2
           Removing: qt5-qtdeclarative-5.6.2-1.el7.x86_64 (@rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.6.2-1.el7
           Updated By: qt5-qtdeclarative-5.9.2-1.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.9.2-1.el7
           Available: qt5-qtdeclarative-5.6.1-10.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.6.1-10.el7
**********************************************************************
Dependency resolving failed due to missing dependencies.
Some repositories on your system are disabled, but yum can enable them
and search for missing dependencies. This will require downloading
metadata for disabled repositories and may take some time and traffic.
**********************************************************************

Enable all repositories and try again? [y/N]: y
--> Running transaction check
---> Package libsmbios.x86_64 0:2.3.3-2.el7 will be updated
--> Processing Dependency: libsmbios.so.2()(64bit) for package: srvadmin-storage-9.1.0-2757.12163.el7.x86_64
---> Package qt5-qtbase.x86_64 0:5.6.2-1.el7 will be updated
--> Processing Dependency: qt5-qtbase(x86-64) = 5.6.2 for package: qt5-qtwebkit-5.6.2-1.el7.x86_64
---> Package qt5-qtdeclarative.x86_64 0:5.6.2-1.el7 will be updated
--> Processing Dependency: qt5-qtdeclarative(x86-64) = 5.6.2 for package: qt5-qtwebkit-5.6.2-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: srvadmin-storage-9.1.0-2757.12163.el7.x86_64 (@dell-system-update_dependent)
           Requires: libsmbios.so.2()(64bit)
           Removing: libsmbios-2.3.3-2.el7.x86_64 (@epel)
               libsmbios.so.2()(64bit)
           Updated By: libsmbios-2.3.3-6.el7.x86_64 (rhel-7-server-rpms)
               Not found
           Available: libsmbios-2.3.1-2757.12163.el7.x86_64 (dell-system-update_dependent)
               libsmbios.so.2()(64bit)
Error: Package: qt5-qtwebkit-5.6.2-1.el7.x86_64 (@epel)
           Requires: qt5-qtbase(x86-64) = 5.6.2
           Removing: qt5-qtbase-5.6.2-1.el7.x86_64 (@rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.6.2-1.el7
           Updated By: qt5-qtbase-5.9.2-3.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.9.2-3.el7
           Available: qt5-qtbase-5.6.1-10.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.6.1-10.el7
Error: Package: qt5-qtwebkit-5.6.2-1.el7.x86_64 (@epel)
           Requires: qt5-qtdeclarative(x86-64) = 5.6.2
           Removing: qt5-qtdeclarative-5.6.2-1.el7.x86_64 (@rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.6.2-1.el7
           Updated By: qt5-qtdeclarative-5.9.2-1.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.9.2-1.el7
           Available: qt5-qtdeclarative-5.6.1-10.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.6.1-10.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

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

I set both dell sections to 0 and cleaned the cache (did not edit the epel yet) I still hangs when yum tried update qt5

Error: Package: srvadmin-storage-9.1.0-2757.12163.el7.x86_64 (@dell-system-update_dependent)

how come, I just disabled both entries in /etc/yum.repos.d/dell-system-update.repo ??

[dell-system-update_independent]
name=dell-system-update_independent
baseurl=http://linux.dell.com/repo/hardware/dsu/os_independent/
gpgcheck=1
gpgkey=http://linux.dell.com/repo/hardware/dsu/public.key
enabled=0
exclude=dell-system-update*.i386

[dell-system-update_dependent]
name=dell-system-update_dependent
mirrorlist=http://linux.dell.com/repo/hardware/dsu/mirrors.cgi?osname=el$releasever&basearch=$basearch&native=1
gpgcheck=1
gpgkey=http://linux.dell.com/repo/hardware/dsu/public.key
enabled=0

### yum update fails
--> Running transaction check
---> Package libsmbios.x86_64 0:2.3.3-2.el7 will be updated
--> Processing Dependency: libsmbios.so.2()(64bit) for package: srvadmin-storage-9.1.0-2757.12163.el7.x86_64
---> Package qt5-qtbase.x86_64 0:5.6.2-1.el7 will be updated
--> Processing Dependency: qt5-qtbase(x86-64) = 5.6.2 for package: qt5-qtwebkit-5.6.2-1.el7.x86_64
---> Package qt5-qtdeclarative.x86_64 0:5.6.2-1.el7 will be updated
--> Processing Dependency: qt5-qtdeclarative(x86-64) = 5.6.2 for package: qt5-qtwebkit-5.6.2-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: qt5-qtwebkit-5.6.2-1.el7.x86_64 (@epel)
           Requires: qt5-qtbase(x86-64) = 5.6.2
           Removing: qt5-qtbase-5.6.2-1.el7.x86_64 (@rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.6.2-1.el7
           Updated By: qt5-qtbase-5.9.2-3.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.9.2-3.el7
           Available: qt5-qtbase-5.6.1-10.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.6.1-10.el7
Error: Package: qt5-qtwebkit-5.6.2-1.el7.x86_64 (@epel)
           Requires: qt5-qtdeclarative(x86-64) = 5.6.2
           Removing: qt5-qtdeclarative-5.6.2-1.el7.x86_64 (@rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.6.2-1.el7
           Updated By: qt5-qtdeclarative-5.9.2-1.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.9.2-1.el7
           Available: qt5-qtdeclarative-5.6.1-10.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.6.1-10.el7
Error: Package: srvadmin-storage-9.1.0-2757.12163.el7.x86_64 (@dell-system-update_dependent)
           Requires: libsmbios.so.2()(64bit)
           Removing: libsmbios-2.3.3-2.el7.x86_64 (@epel)
               libsmbios.so.2()(64bit)
           Updated By: libsmbios-2.3.3-6.el7.x86_64 (rhel-7-server-rpms)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Because the package which causes the conflict is still installed, so remove it :
sudo yum remove srvadmin-storage-9.1.0-2757.12163.el7.x86_64
It can be reinstalled once dependencies match. Does it work now, Stephane ?

Regards,
Christian

same when I also disable epel. It seems that some installed Dell dep is persistent and in the way of rhel what can I deinstall to recover my rehl+Epel functionality ?

--> Running transaction check
---> Package libsmbios.x86_64 0:2.3.3-2.el7 will be updated
--> Processing Dependency: libsmbios.so.2()(64bit) for package: srvadmin-storage-9.1.0-2757.12163.el7.x86_64
---> Package qt5-qtbase.x86_64 0:5.6.2-1.el7 will be updated
--> Processing Dependency: qt5-qtbase(x86-64) = 5.6.2 for package: qt5-qtwebkit-5.6.2-1.el7.x86_64
---> Package qt5-qtdeclarative.x86_64 0:5.6.2-1.el7 will be updated
--> Processing Dependency: qt5-qtdeclarative(x86-64) = 5.6.2 for package: qt5-qtwebkit-5.6.2-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: qt5-qtwebkit-5.6.2-1.el7.x86_64 (@epel)
           Requires: qt5-qtbase(x86-64) = 5.6.2
           Removing: qt5-qtbase-5.6.2-1.el7.x86_64 (@rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.6.2-1.el7
           Updated By: qt5-qtbase-5.9.2-3.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.9.2-3.el7
           Available: qt5-qtbase-5.6.1-10.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.6.1-10.el7
Error: Package: qt5-qtwebkit-5.6.2-1.el7.x86_64 (@epel)
           Requires: qt5-qtdeclarative(x86-64) = 5.6.2
           Removing: qt5-qtdeclarative-5.6.2-1.el7.x86_64 (@rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.6.2-1.el7
           Updated By: qt5-qtdeclarative-5.9.2-1.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.9.2-1.el7
           Available: qt5-qtdeclarative-5.6.1-10.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.6.1-10.el7
Error: Package: srvadmin-storage-9.1.0-2757.12163.el7.x86_64 (@dell-system-update_dependent)
           Requires: libsmbios.so.2()(64bit)
           Removing: libsmbios-2.3.3-2.el7.x86_64 (@epel)
               libsmbios.so.2()(64bit)
           Updated By: libsmbios-2.3.3-6.el7.x86_64 (rhel-7-server-rpms)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Stephane, the main problem is the DELL repository - please read my comment to what you've posted right before.
After you've removed that DELL package, you can re-enable EPEL again, it should not cause problems any more. :)

Regards,
Christian

Thanks Christian, this fixed the dell part but not yet the epel part

Do I need to also deinstall / reinstall some of the below?

I fear I need qt5-qtwebkit for teamviewer as seen by the screen during deinstall

Thanks for your help, this is danger zone for me!

Error: Package: qt5-qtwebkit-5.6.2-1.el7.x86_64 (@epel)
           Requires: qt5-qtbase(x86-64) = 5.6.2
           Removing: qt5-qtbase-5.6.2-1.el7.x86_64 (@rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.6.2-1.el7
           Updated By: qt5-qtbase-5.9.2-3.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.9.2-3.el7
           Available: qt5-qtbase-5.6.1-10.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtbase(x86-64) = 5.6.1-10.el7
Error: Package: qt5-qtwebkit-5.6.2-1.el7.x86_64 (@epel)
           Requires: qt5-qtdeclarative(x86-64) = 5.6.2
           Removing: qt5-qtdeclarative-5.6.2-1.el7.x86_64 (@rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.6.2-1.el7
           Updated By: qt5-qtdeclarative-5.9.2-1.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.9.2-1.el7
           Available: qt5-qtdeclarative-5.6.1-10.el7.x86_64 (rhel-7-server-rpms)
               qt5-qtdeclarative(x86-64) = 5.6.1-10.el7

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

Christian,

I deinstalled the Dell package as you proposed and it took its dependent to the grave. The only remaining obstacle is the qt5-qtwebkit on which Teamviewer depends (apparently) and I do not dare to deinstall that one (but reinstalled it from epel without improvement.

Should I also deinstall qt5-qtwebkit despite the risk for Teamviewer?

splaisan@L-GBW-NUCSRV-1:~$ sudo yum remove qt5-qtwebkit-5.6.2-1.el7.x86_64
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package qt5-qtwebkit.x86_64 0:5.6.2-1.el7 will be erased
--> Processing Dependency: libQt5WebKit.so.5()(64bit) >= 5.2 for package: teamviewer-host-13.1.1548-0.x86_64
--> Processing Dependency: libQt5WebKitWidgets.so.5()(64bit) >= 5.2 for package: teamviewer-host-13.1.1548-0.x86_64
--> Running transaction check
---> Package teamviewer-host.x86_64 0:13.1.1548-0 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================================================
 Package                                             Arch                                       Version                                           Repository                                       Size
========================================================================================================================================================================================================
Removing:
 qt5-qtwebkit                                        x86_64                                     5.6.2-1.el7                                       @epel                                            38 M
Removing for dependencies:
 teamviewer-host                                     x86_64                                     13.1.1548-0                                       @teamviewer                                      50 M

Transaction Summary
========================================================================================================================================================================================================
Remove  1 Package (+1 Dependent package)

Installed size: 88 M
Is this ok [y/N]: 

Sure Stephane - you can uninstall it ... but this transaction will remove the "TeamViewer Host" application as well ! :)

Regards,
Christian

getting closer

deinstalled qt5-qtwebkit.x86_64 and TV13 then did several cache clear and reinstall of the below without success (epel is OFF)

splaisan@L-GBW-NUCSRV-1:~$ sudo yum update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
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                               rhel-7-server-rpms                               13 k

Transaction Summary
========================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 13 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for rhel-7-server-rpms
python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch.rpm                                                                                                                     |  13 kB  00:00:00     
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!

Stephane, please remove and reinstall the package once again - success ? sudo yum remove python-backports-ssl_match_hostname.noarch
sudo yum install python-backports-ssl_match_hostname.noarch

Regards,
Christian

Should I inactivate the second RHEL7 repo: rhel-7-server-optional-rpms?

yum info python-backports-ssl_match_hostname
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Repo rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5819286737797995439-key.pem
Repo rhel-7-server-optional-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/5819286737797995439-key.pem
google-chrome                                                                                                                                                                                       3/3
virtualbox                                                                                                                                                                                        52/52
Installed Packages
Name        : python-backports-ssl_match_hostname
Arch        : noarch
Version     : 3.4.0.2
Release     : 4.el7
Size        : 14 k
Repo        : installed
From repo   : rhel-7-server-rpms
Summary     : The ssl.match_hostname() function from Python 3
URL         : https://bitbucket.org/brandon/backports.ssl_match_hostname
License     : Python
Description : The Secure Sockets layer is only actually secure if you check the hostname in
            : the certificate returned by the server to which you are connecting, and verify
            : that it matches to hostname that you are trying to reach.
            : 
            : But the matching logic, defined in RFC2818, can be a bit tricky to implement on
            : your own. So the ssl package in the Standard Library of Python 3.2 now includes
            : a match_hostname() function for performing this check instead of requiring
            : every application to implement the check separately.
            : 
            : This backport brings match_hostname() to users of earlier versions of Python.
            : The actual code inside comes verbatim from Python 3.2.

Available Packages
Name        : python-backports-ssl_match_hostname
Arch        : noarch
Version     : 3.5.0.1
Release     : 1.el7
Size        : 13 k
Repo        : rhel-7-server-rpms/7Server/x86_64
Summary     : The ssl.match_hostname() function from Python 3
URL         : https://bitbucket.org/brandon/backports.ssl_match_hostname
License     : Python
Description : The Secure Sockets layer is only actually secure if you check the hostname in
            : the certificate returned by the server to which you are connecting, and verify
            : that it matches to hostname that you are trying to reach.
            : 
            : But the matching logic, defined in RFC2818, can be a bit tricky to implement on
            : your own. So the ssl package in the Standard Library of Python 3.2 now includes
            : a match_hostname() function for performing this check instead of requiring
            : every application to implement the check separately.
            : 
            : This backport brings match_hostname() to users of earlier versions of Python.
            : The actual code is only slightly modified from Python 3.5.

No Stephane, I would leave the main, the extras and the optional repos enabled.
If you don't need packages from other ones, I would disable all others repos ... :)
It's good practice to enable only repos from which you need software packages.

Regards,
Christian

If I remove the package, a huge lot of deps go to the bin How can I then get them back, should I keep a record of all what gets deinstalled and simply reinstall them after the new version of python-backports-ssl_match_hostname is installed?

Dependencies Resolved

========================================================================================================================================================================================================
 Package                                                            Arch                             Version                                        Repository                                     Size
========================================================================================================================================================================================================
Removing:
 python-backports-ssl_match_hostname                                noarch                           3.4.0.2-4.el7                                  @rhel-7-server-rpms                            14 k
Removing for dependencies:
 anaconda                                                           x86_64                           21.48.22.134-1.el7                             @rhel-7-server-rpms                            18 k
 anaconda-core                                                      x86_64                           21.48.22.134-1.el7                             @rhel-7-server-rpms                           8.1 M
 anaconda-gui                                                       x86_64                           21.48.22.134-1.el7                             @rhel-7-server-rpms                           1.4 M
 anaconda-tui                                                       x86_64                           21.48.22.134-1.el7                             @rhel-7-server-rpms                           436 k
 initial-setup                                                      x86_64                           0.3.9.43-1.el7                                 @rhel-7-server-rpms                           221 k
 initial-setup-gui                                                  x86_64                           0.3.9.43-1.el7                                 @rhel-7-server-rpms                            32 k
 insights-client                                                    noarch                           3.0.3-9.el7_5                                  @rhel-7-server-rpms                           431 k
 numpy                                                              x86_64                           1:1.7.1-13.el7                                 @rhel-7-server-rpms                            13 M
 numpy-f2py                                                         x86_64                           1:1.7.1-13.el7                                 @rhel-7-server-rpms                           944 k
 python-coverage                                                    x86_64                           3.6-0.5.b3.el7                                 @anaconda/7.0                                 568 k
 python-matplotlib                                                  x86_64                           1.2.0-15.el7                                   @rhel-7-server-rpms                            49 M
 python-nose                                                        noarch                           1.3.7-1.el7                                    @rhel-7-server-rpms                           1.1 M
 python-requests                                                    noarch                           2.6.0-1.el7_1                                  @rhel-7-server-rpms                           343 k
 python-setuptools                                                  noarch                           0.9.8-7.el7                                    @rhel-7-server-rpms                           1.9 M
 python-urllib3                                                     noarch                           1.10.2-5.el7                                   @rhel-7-server-rpms                           378 k
 python2-pip                                                        noarch                           8.1.2-6.el7                                    @epel                                         7.2 M
 scipy                                                              x86_64                           0.12.1-6.el7                                   @rhel-7-server-rpms                            34 M
 subscription-manager-initial-setup-addon                           x86_64                           1.20.11-1.el7_5                                @rhel-7-server-rpms                            46 k

Transaction Summary
========================================================================================================================================================================================================
Remove  1 Package (+18 Dependent packages)

Installed size: 118 M
Is this ok [y/N]: 

Hi Stephane,

These packages seem to be safe to remove, most of them were used during original setup, so yes, you can do that.
And in case something goes wrong, you always can revert it with the sudo yum history undo ID command. :)

Regards,
Christian

uninstalled OK but does not install never ending story :-)

splaisan@L-GBW-NUCSRV-1:~$ sudo yum install python-backports-ssl_match_hostname.noarch
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================================================
 Package                                                          Arch                                Version                                     Repository                                       Size
========================================================================================================================================================================================================
Installing:
 python-backports-ssl_match_hostname                              noarch                              3.5.0.1-1.el7                               rhel-7-server-rpms                               13 k

Transaction Summary
========================================================================================================================================================================================================
Install  1 Package

Total download size: 13 k
Installed size: 18 k
Is this ok [y/d/N]: y
Downloading packages:
python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch.rpm                                                                                                                     |  13 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch                                                                                                                             1/1 
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/1 

Failed:
  python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7                                                                                                                                            

Complete!

###############################################################
## there are many python files and folders there with backportssl... as name

##### should I delete some?

drwxr-xr-x.   2 root root   43 Oct 23 11:50 backports
drwxr-xr-x.   2 root root 4.0K Jul  3  2017 backports_abc-0.5.dist-info
-rw-r--r--.   1 root root 5.4K Jul  3  2017 backports_abc.py
-rw-r--r--.   1 root root 6.9K Jul  3  2017 backports_abc.pyc
drwxr-xr-x.   2 root root 4.0K Jul  3  2017 backports.functools_lru_cache-1.4.dist-info
drwxr-xr-x.   2 root root 4.0K Jul 19  2016 backports.shutil_get_terminal_size-1.0.0.dist-info
drwxr-xr-x.   2 root root 4.0K Jul  3  2017 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ad0a25f
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ad0a669
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ad0a8c1
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ad0a94b
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ad0a9c3
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ad9ef4a
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ada0983
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ada09bf
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ada09f8
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ada0a0c
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ada0a34
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ada248d
-rw-r--r--.   1 root root 4.0K Oct 23 11:50 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5ada2552

"Should I delete some?" Well, Stephane, you can give it a try, but backup the files and folders before deleting them. :)

Regards,
Christian

All makes sense. However, I deleted the ghost files in the python packages folder and then YES it finally installed Now I have to revive Teamviewer which is another story End of this track. THANKS a lot Christian, I would not have made it without you

You're very welcome, Stephane ! :) I'm glad that we've finally found a solution - was a pleasure to work with you. :)

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.

Solution created from this: https://access.redhat.com/solutions/3440171

This fixed this same issue for me, thanks!

Thanks APU to confirm what I reported two posts above yours ;-) I was also able to reinstall TeamViewer after that (the stable version 12 instead of 13) Thanks a lot for the help, this is a great place!

I just ran into the same thing with some RHEL7.4->7.5 upgrades. Clearing out the site-packages and reinstalling worked for me as well. I did notice my systems were showing the 3.4.0.2 version coming from @anaconda/7.1, so it looks like that's a landmine that's been laying around for a while.

I had a similar error (details below). But the resolution in my case was 1) sudo pip uninstall urllib3 2) yum install python2-urllib3

Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1187057

Error Details below: Dependencies Resolved

=============================================================================================================================================================================================

Package Arch Version Repository Size

Installing: python2-urllib3 noarch 1.21.1-1.el7 rhel-7-server-ose-3.9-rpms 173 k

Transaction Summary

Install 1 Package

Total download size: 173 k Installed size: 674 k Is this ok [y/d/N]: y Downloading packages: python2-urllib3-1.21.1-1.el7.noarch.rpm | 173 kB 00:00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : python2-urllib3-1.21.1-1.el7.noarch 1/1 Error unpacking rpm package python2-urllib3-1.21.1-1.el7.noarch error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname: cpio: rename Verifying : python2-urllib3-1.21.1-1.el7.noarch 1/1

Failed: python2-urllib3.noarch 0:1.21.1-1.el7

Complete!