需要帮助在 CentOS 6 上升级 curl

需要帮助在 CentOS 6 上升级 curl

我有一台 CentOS 6 服务器,其 curl 版本为 7.19.7。由于某种原因,它不支持 NTLM 身份验证。我在 redhat 的网站上找到了这个帖子:https://bugzilla.redhat.com/show_bug.cgi?id=603783看起来它应该可以在 7.20.1-3 上运行。

我在升级 curl 时遇到了很大困难。我尝试过:

yum install curl-7.24.0-1.0.cf.rhel6.x86_64.rpm libcurl-7.24.0-1.0.cf.rhel6.x86_64.rpm libssh2-1.3.0-4.fc17.x86_64.rpm c-ares-1.7.5-2.fc17.x86_64.rpm

但是我得到:

Error: Package: c-ares-1.7.5-2.fc17.x86_64 (/c-ares-1.7.5-2.fc17.x86_64)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: libssh2-1.3.0-4.fc17.x86_64 (/libssh2-1.3.0-4.fc17.x86_64)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: c-ares-1.7.5-2.fc17.x86_64 (/c-ares-1.7.5-2.fc17.x86_64)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我尝试添加 glibc,但它需要更多依赖项,并且继续运行。有没有更简单的方法可以做到这一点?我担心如果我继续添加更多依赖项,最终会出问题。

这是我发现的有关 curl 问题的线索 -https://bugzilla.redhat.com/show_bug.cgi?id=603783

答案1

您使用的可能是 32 位系统,而不是 64 位系统?

尝试“yum -y upgrade curl”并粘贴发生的情况。

相关内容