ฉันกำลังพยายามติดตั้ง GIT ด้วย RPM หรือ YUM แต่ฉันทำไม่ได้ ฉันได้รับข้อผิดพลาดต่อไปนี้:
error: Failed dependencies:
libcrypto.so.10 is needed by git-1.7.1-2.el6.i686
libcurl.so.4 is needed by git-1.7.1-2.el6.i686
libexpat.so.1 is needed by git-1.7.1-2.el6.i686
libssl.so.10 is needed by git-1.7.1-2.el6.i686
libz.so.1 is needed by git-1.7.1-2.el6.i686
perl(Error) is needed by git-1.7.1-2.el6.i686
perl(Git) is needed by git-1.7.1-2.el6.i686
perl-Git = 1.7.1-2.el6 is needed by git-1.7.1-2.el6.i686
เมื่อทำงานyum install git
:
root@server [/usr/local/src]# yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.symnds.com
* extras: mirror.atlanticmetro.net
* updates: mirror.trouble-free.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.7.1-2.el6_0.1 set to be updated
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
--> Finished Dependency Resolution
Error: Package: git-1.7.1-2.el6_0.1.x86_64 (updates)
Requires: perl(Error)
Error: Package: git-1.7.1-2.el6_0.1.x86_64 (updates)
Requires: perl-Git = 1.7.1-2.el6_0.1
Error: Package: git-1.7.1-2.el6_0.1.x86_64 (updates)
Requires: perl(Git)
You could try using --skip-broken to work around the problem
bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)
bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)
bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)
exim-4.69-30_cpanel_maildir.x86_64 has missing requires of perl(SafeFile)
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
รายชื่อ Repo:
repo id repo name status
base CentOS-6 - Base 5,664+355
extras CentOS-6 - Extras 1
updates CentOS-6 - Updates 991+51
repolist: 6,656
เซิร์ฟเวอร์กำลังใช้ WHM / cPanel ล่าสุด
จะแก้ไขได้อย่างไร?