0

随着 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')

这是什么意思,我该如何解决这个问题

4

1 回答 1

1

我有同样的问题。以下答案对我有用:

在 Linux CentOS 6.2 上安装 R 时出现问题

具体来说,我这样做了:

$ sudo yum install texinfo-tex
$ rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ sudo yum install tcl
$ sudo yum clean all
$ sudo yum install R
于 2015-07-02T20:26:01.950 回答