Description of problem: Python-urllib3 fails to install or update Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. sudo yum clean all 2. sudo yum install python-urllib3 Actual results: sudo yum install python-urllib3 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * fedora: mirrors.ustc.edu.cn * openclient: ocfedora.hursley.ibm.com * rpmfusion-free: mirrors.ustc.edu.cn * rpmfusion-free-updates: mirrors.ustc.edu.cn * rpmfusion-nonfree: mirrors.ustc.edu.cn * rpmfusion-nonfree-updates: mirrors.ustc.edu.cn * updates: mirrors.ustc.edu.cn Resolving Dependencies --> Running transaction check ---> Package python-urllib3.noarch 0:1.10-2.fc21 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================================================================= Package Arch Version Repository Size ================================================================================================================================================================================================= Installing: python-urllib3 noarch 1.10-2.fc21 updates 110 k Transaction Summary ================================================================================================================================================================================================= Install 1 Package Total download size: 110 k Installed size: 383 k Is this ok [y/d/N]: y Downloading packages: python-urllib3-1.10-2.fc21.noarch.rpm | 110 kB 00:00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction (shutdown inhibited) Installing : python-urllib3-1.10-2.fc21.noarch 1/1 Error unpacking rpm package python-urllib3-1.10-2.fc21.noarch error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname: cpio: rename Verifying : python-urllib3-1.10-2.fc21.noarch 1/1 Failed: python-urllib3.noarch 0:1.10-2.fc21 Complete! Expected results: Package python-urllib3 installed Additional info:
I think this is the same issue as in https://bugzilla.redhat.com/show_bug.cgi?id=1187057 Can you try the instructions there and let us know if it fixes your problem?
Yeah, this is not a bug. You 'sudo pip install'd urllib3 at one point and that is conflicting with rpm. Please 'sudo pip uninstall urllib3' and then try yum installing again after that.
This fixed my issue as well. I wanted to thank you for posting this as it would have taken us much longer to isolate the issue. Fantastic work.
Just ran into this as well. It would be nice if the package could be updated to detect if urllib3 has been installed through pip and then show an error message with instructions on what to do. I also disagree that this is not a bug, update failures are causing application failures which leads to down time.
(In reply to Ralph Bean from comment #2) > Yeah, this is not a bug. You 'sudo pip install'd urllib3 at one point and > that is conflicting with rpm. > > Please 'sudo pip uninstall urllib3' and then try yum installing again after > that. Thank you very much Ralph! Failure to upgrade urllib3 bugged me for a while. Now it is solved thanks to your post.
My issue is also resolved after running > `sudo pip uninstall urllib3`. Thanks for the help.