Re: Problem with cr repo.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

--
Marek Blaha <mblaha@xxxxxxxxxx>

Red Hat Czech s.r.o.
Software Engineer

On Mon, Apr 30, 2018 at 3:04 PM, <me@xxxxxxxxxx> wrote:

> 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-packag
> es/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,
>
>
> --
> Tom                     me@xxxxxxxxxx
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux