%20%E4%B8%8A%E5%AE%89%E8%A3%9D%20R%20%E6%99%82%E9%81%87%E5%88%B0%E5%95%8F%E9%A1%8C.png)
我已在 RHEL 5.3 發行版上安裝了 epel 5,目前在其上安裝 R 時遇到問題。這是錯誤日誌:
R-core-3.3.1-2.el5.x86_64 from epel has depsolving problems --> Missing Dependency: libRmath%{_isa} = 3.3.1-2.el5 is needed by package R-core-3.3.1-2.el5.x86_64 (epel) Error: Missing Dependency: libRmath%{_isa} = 3.3.1-2.el5 is needed by package R-core-3.3.1-2.el5.x86_64 (epel)
但是當我嘗試libRmath
手動安裝時,它顯示所需的版本已經安裝:
goelakash% sudo yum install libRmath Loaded plugins: security Setting up Install Process Package libRmath-3.3.1-2.el5.x86_64 already installed and latest version Nothing to do
這裡可能有什麼問題?
答案1
epel-testing
根據此錯誤跟踪線程中的評論,我必須啟用存儲庫(https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1371184),其中提到最新的 libRmath 已進入測試存儲庫,但尚未合併到穩定版本中。
因此,應該執行以下操作:
sudo yum install --enablerepo=epel-testing libRmath
您也可以手動將enable
標誌設為等於1
in /etc/yum.repos.d/epel-testing.repo
。
[epel-testing] name=Extra Packages for Enterprise Linux 5 - Testing - $basearch . . enabled=0 .
設定啟用標誌 = 1。