![yum install R依赖问题(RHEL 5.5)](https://linux22.com/image/8623/yum%20install%20R%E4%BE%9D%E8%B5%96%E9%97%AE%E9%A2%98%EF%BC%88RHEL%205.5%EF%BC%89.png)
我尝试在 RHEL 5.5 系统上远程安装 R,但始终遇到依赖性问题
yum -y install R
结果如下
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package R.x86_64 0:3.3.0-3.el5 set to be updated
--> Processing Dependency: R-devel = 3.3.0-3.el5 for package: R
--> Running transaction check
---> Package R-devel.x86_64 0:3.3.0-3.el5 set to be updated
--> Processing Dependency: R-core-devel = 3.3.0-3.el5 for package: R-devel
--> Running transaction check
---> Package R-core-devel.x86_64 0:3.3.0-3.el5 set to be updated
--> Processing Dependency: R-core = 3.3.0-3.el5 for package: R-core-devel
--> Processing Dependency: xz-devel for package: R-core-devel
--> Processing Dependency: tk-devel for package: R-core-devel
--> Processing Dependency: texinfo-tex for package: R-core-devel
--> Processing Dependency: tcl-devel for package: R-core-devel
--> Running transaction check
---> Package R-core.x86_64 0:3.3.0-3.el5 set to be updated
--> Processing Dependency: xdg-utils for package: R-core
--> Processing Dependency: liblzma.so.0()(64bit) for package: R-core
---> Package R-core-devel.x86_64 0:3.3.0-3.el5 set to be updated
--> Processing Dependency: xz-devel for package: R-core-devel
--> Processing Dependency: tk-devel for package: R-core-devel
--> Processing Dependency: texinfo-tex for package: R-core-devel
--> Processing Dependency: tcl-devel for package: R-core-devel
--> Running transaction check
---> Package R-core.x86_64 0:3.3.0-3.el5 set to be updated
--> Processing Dependency: liblzma.so.0()(64bit) for package: R-core
---> Package R-core-devel.x86_64 0:3.3.0-3.el5 set to be updated
--> Processing Dependency: xz-devel for package: R-core-devel
--> Processing Dependency: tk-devel for package: R-core-devel
--> Processing Dependency: texinfo-tex for package: R-core-devel
--> Processing Dependency: tcl-devel for package: R-core-devel
---> Package xdg-utils.noarch 0:1.0.2-4.el5 set to be updated
--> Finished Dependency Resolution
R-core-3.3.0-3.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: liblzma.so.0()(64bit) is needed by package R-core-3.3.0-3.el5.x86_64 (epel)
R-core-devel-3.3.0-3.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: xz-devel is needed by package R-core-devel-3.3.0-3.el5.x86_64 (epel)
R-core-devel-3.3.0-3.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: tk-devel is needed by package R-core-devel-3.3.0-3.el5.x86_64 (epel)
R-core-devel-3.3.0-3.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: tcl-devel is needed by package R-core-devel-3.3.0-3.el5.x86_64 (epel)
R-core-devel-3.3.0-3.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: texinfo-tex is needed by package R-core-devel-3.3.0-3.el5.x86_64 (epel)
Error: Missing Dependency: xz-devel is needed by package R-core-devel-3.3.0-3.el5.x86_64 (epel)
Error: Missing Dependency: liblzma.so.0()(64bit) is needed by package R-core-3.3.0-3.el5.x86_64 (epel)
Error: Missing Dependency: tcl-devel is needed by package R-core-devel-3.3.0-3.el5.x86_64 (epel)
Error: Missing Dependency: tk-devel is needed by package R-core-devel-3.3.0-3.el5.x86_64 (epel)
Error: Missing Dependency: texinfo-tex is needed by package R-core-devel-3.3.0-3.el5.x86_64 (epel)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
我已经尝试了yum clean all
可能的解决方案,但它导致了同样的问题。我也尝试过单独安装依赖项,但它们似乎不存在。
我该如何解决这个问题,为什么包管理器会认为依赖项缺失,而实际上并不存在?
答案1
CentOS 5.5 已经很老了。它于 2010 年发布。EPEL 的目标是主要版本的最新版本,这意味着它的目标是 5.11。您已经远远落后并期待 EPEL 为您提供支持。
我的猜测是你需要更新。您可能依赖的某些软件包仅随较新版本的 5.x 一起提供。
提醒您,5.x 已于 2014 年停止修复,并将在不到一年的时间内完全停产。您应该有某种更新计划。