Centos5
缺少依賴:perl(YAML::Any)
當我在 centos5 伺服器上執行 yum upgrade 時,我遇到了 git 問題。
yum upgrade
輸出:
Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.7.11.3-1.el5.rf set to be updated ---> Package perl-Git.x86_64 0:1.7.11.3-1.el5.rf set to be updated --> Processing Dependency: perl(SVN::Ra) for package: perl-Git --> Processing Dependency: perl(SVN::Delta) for package: perl-Git --> Processing Dependency: perl(SVN::Client) for package: perl-Git --> Processing Dependency: perl(YAML::Any) for package: perl-Git --> Processing Dependency: perl(SVN::Core) for package: perl-Git --> Running transaction check ---> Package perl-Git.x86_64 0:1.7.11.3-1.el5.rf set to be updated --> Processing Dependency: perl(YAML::Any) for package: perl-Git ---> Package subversion-perl.x86_64 0:1.6.11-10.el5_8 set to be updated --> Processing Dependency: subversion = 1.6.11-10.el5_8 for package: subversion-perl --> Processing Dependency: libsvn_wc-1.so.0()(64bit) for package: subversion-perl --> Processing Dependency: libsvn_fs-1.so.0()(64bit) for package: subversion-perl --> Processing Dependency: libsvn_diff-1.so.0()(64bit) for package: subversion-perl --> Processing Dependency: libsvn_subr-1.so.0()(64bit) for package: subversion-perl --> Processing Dependency: libsvn_delta-1.so.0()(64bit) for package: subversion-perl --> Processing Dependency: libsvn_repos-1.so.0()(64bit) for package: subversion-perl --> Processing Dependency: libsvn_ra-1.so.0()(64bit) for package: subversion-perl --> Processing Dependency: libsvn_client-1.so.0()(64bit) for package: subversion-perl --> Running transaction check ---> Package perl-Git.x86_64 0:1.7.11.3-1.el5.rf set to be updated --> Processing Dependency: perl(YAML::Any) for package: perl-Git ---> Package subversion.x86_64 0:1.6.11-10.el5_8 set to be updated --> Finished Dependency Resolution perl-Git-1.7.11.3-1.el5.rf.x86_64 from rpmforge has depsolving problems --> Missing Dependency: perl(YAML::Any) is needed by package perl-Git-1.7.11.3-1.el5.rf.x86_64 (rpmforge) Error: Missing Dependency: perl(YAML::Any) is needed by package perl-Git-1.7.11.3-1.el5.rf.x86_64 (rpmforge)
當我嘗試 yum info perl-YAML 時,它說 perl-YAML 已安裝。
Name : perl-YAML Arch : noarch Version : 0.66 Release : 2.el5.art Size : 171 k Repo : installed
這裡有什麼問題?
謝謝弗洛
我添加了這個:
http://pkgs.repoforge.org/perl-YAML/perl-YAML-0.72-1.el5.rf.noarch.rpm
這對我有用:
# 百勝安裝 git 載入的外掛:安全 設置安裝過程 解決依賴關係 --> 執行事務檢查 ---> 包 git.x86_64 0:1.7.11.3-1.el5.rf 設置更新 --> 處理依賴:perl-Git = 1.7.11.3-1.el5.rf for package: git --> 處理依賴:perl(Git) for package: git --> 執行事務檢查 ---> 包 perl-Git.x86_64 0:1.7.11.3-1.el5.rf 設置更新 --> 處理依賴:perl(YAML::Any) for package: perl-Git --> 執行事務檢查 ---> 包 perl-YAML.noarch 0:0.72-1.el5.rf 設置更新 --> 完成依賴解析 依賴關係已解決 ================================================================================ 包 Arch 版本庫大小 ================================================================================ 安裝: git x86_64 1.7.11.3-1.el5.rf 第三方 8.2M 安裝依賴項: perl-Git x86_64 1.7.11.3-1.el5.rf 第三方 56 k perl-YAML noarch 0.72-1.el5.rf 第三方 84 k 交易摘要 ================================================================================ 安裝 3 個軟體包 升級 0 個軟體包 總下載大小:8.3 M 這可以嗎[是/否]:是 下載包: (1/3): perl-Git-1.7.11.3-1.el5.rf.x86_64.rpm | 56 KB 00:00 (2/3): perl-YAML-0.72-1.el5.rf.noarch.rpm | 84 KB 00:00 (3/3):git-1.7.11.3-1.el5.rf.x86_64.rpm | 8.2 MB 00:00 -------------------------------------------------------------------------------- 總計 38 MB/s | 8.3 MB 00:00 執行 rpm_check_debug 執行事務測試 完成交易測試 交易測試成功 執行事務 安裝:perl-YAML 1/3 安裝:perl-Git 2/3 安裝:git 3/3 安裝: git.x86_64 0:1.7.11.3-1.el5.rf 安裝的依賴: perl-Git.x86_64 0:1.7.11.3-1.el5.rf perl-YAML.noarch 0:0.72-1.el5.rf 完全的!