【发布时间】:2014-07-11 23:55:17
【问题描述】:
我之前在运行 RedHat EL6.5 的机器上安装了 R,但我最近在安装新软件包(即 install.packages())时遇到了问题。由于我找不到解决方案,我尝试使用以下方法重新安装 R:
sudo yum remove R
和
sudo yum install R
但现在我明白了:
....
---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: blas-devel >= 3.0 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
--> Processing Dependency: lapack-devel for package: R-core-devel-3.1.0-5.el6.x86_64
---> 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: blas-devel >= 3.0
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: lapack-devel
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
You could try running: rpm -Va --nofiles --nodigest
我已经检查过了,已经安装了 blas-devel,但最新版本是 0.2.8。检查使用:
yum info openblas-devel.x86_64
对出了什么问题有任何想法吗?谢谢。
【问题讨论】:
-
在 google 中粗略搜索
blas-devel显示最新版本至少为 3.2 版。您可能曾经安装过旧版本的 R,而新版本依赖于 RedHat 中不可用的 BLAS 版本? -
可以通过
sudo yum install lapack-devel等解决这个问题。直到错误停止。 -
sudo yum install lapack-devel不起作用。返回:No package lapack-devel available.Scott - 你说得对,百胜没有 blas-devel。解决此问题的最佳方法是什么? -
我知道这是一篇旧帖子,但这在 rhel7 上对我有用 -
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm