在发布R 3之后,当yum更新我的系统时,我收到了与R相关的几条yum错误消息。在yum删除R及其依赖项之后,我再次从头开始。但是,我无法安装R-devel或R-core-devel,无法解决这个问题。以下是yum install R-core-devel R-devel
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: xz-devel for package: R-core-devel-3.1.0-5.el6.x86_64
--> Processing Dependency: libicu-devel for package: R-core-devel-3.1.0-5.el6.x86_64
---> Package R-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: R-java-devel = 3.1.0-5.el6 for package: R-devel-3.1.0-5.el6.x86_64
--> Running transaction check
---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: libicu-devel for package: R-core-devel-3.1.0-5.el6.x86_64
---> Package R-java-devel.x86_64 0:3.0.2-1.el6 will be updated
---> Package R-java-devel.x86_64 0:3.1.0-5.el6 will be an update
---> Package xz-devel.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: libicu-devel
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
R-java-3.0.2-1.el6.x86_64 has missing requires of R-core = ('0', '3.0.2', '1.el6')
R-java-devel-3.0.2-1.el6.x86_64 has missing requires of R-core-devel = ('0', '3.0.2', '1.el6')
这意味着什么以及如何解决问题
答案 0 :(得分:1)
我遇到了同样的问题。以下答案对我有用:
Problems installing R on Linux CentOS 6.2
具体来说,我这样做了:
while( $row = fetch_row($result) ){
if( 1 and 2 and 3 ){
//SUCCESS
}
elseif( NOT 1 ){
//1 is the problem
}
elseif( NOT 2 ){
//2 is the problem
}
elseif( NOT 3 ){
//3 is the problem
}
}