Cannot update from RedHat repos anymore

Latest response

I have a RHEL 7 Developer edition installed and nicely configured. However, I have a requirement for an updated curl/libcurl application I am developing, so I have updated curl from fan-city repository by creating a repo file in yum.repos.d. The curl version now stands at:

curl 7.69.1 (x86_64-redhat-linux-gnu) libcurl/7.69.1 NSS/3.44 zlib/1.2.7 libpsl/0.7.0 (+libicu/50.1.2) libssh2/1.9.0 nghttp2/1.31.1
Release-Date: 2020-03-11
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz Metalink NTLM NTLM_WB PSL SPNEGO SSL UnixSockets

But now I have a problem when I want to update from RedHat repositories:

sudo yum update                                                                                                                                         
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
'IdentityCertificate' object has no attribute 'key_path'
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/devtools/1/os/repodata/repomd.xml: [Errno 14] curl#35 - "security library failure."
Trying other mirror.
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/dotnet/1/os/repodata/repomd.xml: [Errno 14] curl#35 - "security library failure."
Trying other mirror.
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#35 - "security library failure."
Trying other mirror.
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] curl#35 - "security library failure."
Trying other mirror.
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#35 - "security library failure."
Trying other mirror.

It only happnens with RedHat repos, the other repos in the system work fine.

I tried unregistering and re-registering the system but no avail. Is there something I can do, to get my system back?

Thank you.

Responses

Hi Silviu,

Obviously the curl version you have installed manually conflicts with the version from the RHEL 7 repositories.
I recommend to uninstall that curl version, remove the external repository, clean the cache, and reinstall curl. :)

Regards,
Christian

Christian,

Thank you for your response. I tried that with a corresponding curl that I downloaded from centos 7 repos and it did not work. I don't have access to RHEL repos for the obvious reason, so how can I get the curl libraries?

Thank you.

Unfortunately, you need to downgrade all the libraries that are used with curl. At this point, I am considering this system broken beyond repair. Thank you, Christian, for your help and fast replies.

Hi Silviu,

You're welcome ! I hope you find a solution ... what about setting up a container or a VM for your application ?
You can leave the RHEL system in the original state and use the external curl without the need of updating. :)

Regards,
Christian

Has anyone had any luck with this issue? We upgraded our Curl version to curl-7.71.1-4.0.cf.rhel7.x86_64 to resolve a security finding for curl-7.29. However, in doing so, well also now receive the error [Errno 14] curl#35 - "security library failure." for each repo it checks.

I had the same issue, after I updated curl to remediate the security issue. I went to a different server, downloaded the lower version of curl with yum --downloadonly --downloaddir=/tmp install libcurl-devel and yum --downloadonly --downloaddir=/tmp install curl then copied the three files to the machine and used yum to downgrade with yum downgrade libcurl-devel-7.29.0-57.el7_8.1.x86_64.rpm libcurl-7.29.0-57.el7_8.1.x86_64.rpm curl-7.29.0-57.el7_8.1.x86_64.rpm