# Install problem on CentOS7

**URL:** <https://community.letsencrypt.org/t/install-problem-on-centos7/92302>\
**Category:** Help\
**Created:** [April 28, 2019, 12:17pm UTC](https://community.letsencrypt.org/t/install-problem-on-centos7/92302 "2019-04-28T12:17:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![c-arnab](https://avatars.discourse-cdn.com/v4/letter/c/9de053/32.png) [@c-arnab](https://community.letsencrypt.org/u/c-arnab)\
**Post date:** [April 28, 2019, 12:17pm UTC](https://community.letsencrypt.org/t/install-problem-on-centos7/92302/1 "2019-04-28T12:17:02Z")

</div>

When I try installing as stated in [https://certbot.eff.org/lets-encrypt/centosrhel7-nginx](https://certbot.eff.org/lets-encrypt/centosrhel7-nginx)  
I run  
`sudo yum install certbot python2-certbot-nginx`

While installing it throws an error: 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

I even tried installing this separately…  
`sudo yum install python-urllib3`

Running transaction  
Installing : python-urllib3-1.10.2-5.el7.noarch 1/1  
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/1

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

Has anyone faced this problem.

Thanks  
Arnab

---

<div class="post-metadata">

**Author:** ![leader](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/leader/32/7569_2.png) [@leader](https://community.letsencrypt.org/u/leader)\
**Post date:** [April 28, 2019, 12:40pm UTC](https://community.letsencrypt.org/t/install-problem-on-centos7/92302/2 "2019-04-28T12:40:45Z")

</div>

[https://bugzilla.redhat.com/show\_bug.cgi?id=1187057](https://bugzilla.redhat.com/show_bug.cgi?id=1187057) and  
[https://access.redhat.com/discussions/3411171](https://access.redhat.com/discussions/3411171)

Google helps a lot sometimes …

---

<div class="post-metadata">

**Author:** ![c-arnab](https://avatars.discourse-cdn.com/v4/letter/c/9de053/32.png) [@c-arnab](https://community.letsencrypt.org/u/c-arnab)\
**Post date:** [April 28, 2019, 1:06pm UTC](https://community.letsencrypt.org/t/install-problem-on-centos7/92302/3 "2019-04-28T13:06:23Z")

</div>

The problem is Certbot requires a higher version than the one available for CentOS.  
The ‘urllib3\<1.23,\>=1.21.1’ distribution was not found and is required by requests

According to [https://pkgs.org/download/python-urllib3](https://pkgs.org/download/python-urllib3), the highest version CentOS supports is 1.10.2  
This is the version I get when I do a yum install python-urllib3,

If I do a yum install python2-urllib3, it gives No package python2-urllib3 available.

If I do a pip install urllib3, it installs version 1.25.1

Is it possible to link this to the dependency when I try to install certbot

---

<div class="post-metadata">

**Author:** ![leader](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/leader/32/7569_2.png) [@leader](https://community.letsencrypt.org/u/leader)\
**Post date:** [April 28, 2019, 1:27pm UTC](https://community.letsencrypt.org/t/install-problem-on-centos7/92302/4 "2019-04-28T13:27:49Z")

</div>

I believe you can either [specify suitable version](https://packaging.python.org/tutorials/installing-packages/#installing-from-pypi) of the package with `pip install` or download the source from the releases page of [https://github.com/urllib3/urllib3](https://github.com/urllib3/urllib3) and build it.

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [April 28, 2019, 1:51pm UTC](https://community.letsencrypt.org/t/install-problem-on-centos7/92302/5 "2019-04-28T13:51:12Z")

</div>

Hi @c-arnab

> [@c-arnab](#):
>
> The problem is Certbot requires a higher version than the one available for CentOS.

Perhaps use anonother client.

> **[ACME Client Implementations - Let's Encrypt](https://letsencrypt.org/docs/client-options/)**
>
> Last updated: Jul 22, 2023 | See all Documentation Let’s Encrypt uses the ACME protocol to verify that you control a given domain name and to issue you a certificate. To get a Let’s Encrypt certificate, you’ll need to choose a piece...

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [May 28, 2019, 1:51pm UTC](https://community.letsencrypt.org/t/install-problem-on-centos7/92302/6 "2019-05-28T13:51:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
