Problem With Cr Repo.

Home » CentOS » Problem With Cr Repo.
CentOS 5 Comments

Hi,

I am having a problem with yum update from the cr repo. Below is the output of yum:

(vgeppetto2 pts4) # yum update Loaded plugins: changelog, fastestmirror, priorities Loading mirror speeds from cached hostfile
* epel: mirror.cogentco.com
171 packages excluded due to repository priority protections Resolving Dependencies
–> Running transaction check
—> Package python-urllib3.noarch 0:1.10.2-3.el7 will be updated
—> Package python-urllib3.noarch 0:1.10.2-5.el7 will be an update
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================================================================== Package Arch Version Repository Size
==================================================================================================================================================================================================================Updating:
python-urllib3 noarch 1.10.2-5.el7 cr 102 k

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

Total download size: 102 k Is this ok [y/d/N]: y Downloading packages:
python-urllib3-1.10.2-5.el7.noarch.rpm | 102 kB 00:00:00
Running transaction check Running transaction test Transaction test succeeded Running transaction
Updating : python-urllib3-1.10.2-5.el7.noarch 1/2
Error unpacking rpm package python-urllib3-1.10.2-5.el7.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-5.el7.noarch 1/2
python-urllib3-1.10.2-3.el7.noarch was supposed to be removed but is not!
Verifying : python-urllib3-1.10.2-3.el7.noarch 2/2

Failed:
python-urllib3.noarch 0:1.10.2-3.el7 python-urllib3.noarch 0:1.10.2-5.el7

Complete!
(vgeppetto2 pts4) #

Can someone look at this and tell me if this is a packaging problem or a problem with my machine and how to fix it?

I ran yum clean metadata before the yum update run but no change.

Regards,

5 thoughts on - Problem With Cr Repo.

  • I can achieve the same error by removing /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname and creating the directory in the same location instead. So solution can be just removing this directory (or just renaming it):

    # mv /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_
    hostname
    /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname.backup

    # yum update python-urllib3

    M.

  • That worked!!

    Thanks for the help.

    My only remaining question is what caused it. I suspect I will never know but the fix was simple enough.

    Regards,

  • I get more problems, I have not single i686 arch package installed yet ‘yum update’ somewhere along the lines decides and insists on pulling in plenty of i686 packages. All this without really telling why, then fails with ‘multilib’ problem. I cleaned/removed yum’s cache, rebuilt rpm database. And while yum does that it shows lots of conflicts. It seems like a serious cockup, current state of CR repo.

  • Please provide complete output from “yum -d8 -v –enablerepo=cr update”

    Thank you.

    John