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년에 중단되었으며 1년 이내에 완전히 중단될 예정입니다. 일종의 업데이트 계획이 있어야 합니다.