9 yum centos software-installation
我跑后 yum install git
它显示错误
Error: Package: git-1.7.6.1-1.el5.rf.i386 (rpmforge)
Requires: libcurl.so.3
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Run Code Online (Sandbox Code Playgroud)
我需要安装 libcurl.so.3 还是从网上下载 git 并安装?
小智 5
我在 CentOS 6.3 下遇到了同样的问题。跑步yum provides git
给了我两个选择:
git-1.7.1-2.el6_0.1.x86_64 : Fast Version Control System
git-1.7.4.1-1.el5.x86_64 : Fast Version Control System
Run Code Online (Sandbox Code Playgroud)
所以,我做了一个yum install git-1.7.1-2.el6_0.1.x86_64
,它安装了 .el6 版本的git
,以及perl-Error
和perl-Git
,并且没有错误,也没有丢失libcurl.so.3
文件!
小智 0
你应该安装卷曲,因为它被列为 git 的直接依赖项(与 openssl-1.0.0d、libssh2、libiconv、libintl、libidn、expat 和 zlib 一起)
确保它是curl 7.21.7,因为前一个版本已无法进行任何ssh 访问。
正如基思 提到的(+1),你需要curl-devel。只有一个 libcurl-devel-7.19.7-16.el6.i686.rpm 软件包可能足够旧,足以让 ssh 仍然工作。
归档时间: |
|
查看次数: |
16364 次 |
最近记录: |