5

I am trying to upgrade curl but keep on getting this error:

Package: libcurl-7.50.0-1.1.cf.rhel6.x86_64 (CityFan) Requires: libnghttp2.so.14()(64bit)

I am not sure how to get this required package? I'm using city-fan.org-release-1-13.rhel6.noarch repo

2 Answers 2

7

You're using the third party city-fan repository. This repo has dependencies which are in the EPEL repository, one of which is libnghttp2, so you must have EPEL enabled to use city-fan.

4
  • This site has instructions on how to enable EPEL: webmaster.net/tutorials/centos/… on CentOS 6 and 7.
    – Martijn
    Sep 6, 2016 at 7:42
  • @Martijn What's wrong with yum install epel-release? Why does he make it so needlessly complicated? Sep 6, 2016 at 16:33
  • yum --enablerepo=epel install libnghttp2 -y && yum install libcurl -y && service httpd restart this will download last curl verions from city-fan
    – Sfblaauw
    May 8, 2018 at 7:31
  • This is for AWS EC2 RHEL: link
    – Efren
    Nov 21, 2019 at 6:38
5

Here is the complete set of commands I executed because it was not clear from the answer of Michael Hampton. Also the link to EPEL install instruction as pointed out were long and unecessary.

yum install epel-release -y
rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-1-13.rhel6.noarch.rpm
yum update curl

Updated URL 2020-08-19: http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-2-1.rhel6.noarch.rpm

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .