错误:无法相依而降级的libcurl
问题描述:
我试图在Linux的红帽降级从7.54.0我的libcurl版本7.52.1 6错误:无法相依而降级的libcurl
我运行:
[[email protected] yhchai]# sudo rpm -Uvh http://nervion.us.es/city-fan/yum-repo/rhel6/x86_64/curl-7.52.1-1.0.cf.rhel6.x86_64.rpm
,它给我一个失败的依赖性错误:
Retrieving http://nervion.us.es/city-fan/yum-repo/rhel6/x86_64/curl-7.52.1-1.0.cf.rhel6.x86_64.rpm
error: Failed dependencies:
libcurl(x86-64) = 7.52.1-1.0.cf.rhel6 is needed by curl-7.52.1-1.0.cf.rhel6.x86_64
欣赏,如果你们可以提供一些启发和解决方案,谢谢。
答
您必须降级这两个包(curl
和libcurl
)。如果你有更多的依赖关系,你也必须降级它们。这里有几个选项如何做到这一点:
如果您已经安装yum
,然后做,
~]# yum downgrade curl libcurl
OR
~]# yum downgrade curl-7.52.1-1.0.cf.rhel6 libcurl-7.52.1-1.0.cf.rhel6
OR
先下载两个包目录mydir
,
~]# cd mydir
~]# wget http://nervion.us.es/city-fan/yum-repo/rhel6/x86_64/curl-7.52.1-1.0.cf.rhel6.x86_64.rpm
~]# wget http://nervion.us.es/city-fan/yum-repo/rhel6/x86_64/libcurl-7.52.1-1.0.cf.rhel6.x86_64.rpm
然后,
~]# rpm -Uvh *curl*.rpm
嗨iamauser,非常感谢你的解决方案。有用! –
很高兴帮助.. – iamauser