【发布时间】:2016-07-26 04:25:12
【问题描述】:
我有 CentOS 7 (3.10.0-123.el7.x86_64),我似乎无法安装 R 并让 Rstudio 服务器正常工作。
这就是我所做的:
rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install R
然后我得到了这个错误:
Transaction check error:
file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.1.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
file /usr/sbin/blkdeactivate from install of device-mapper-7:1.02.107-5.el7_2.1.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
file /usr/share/man/man8/blkdeactivate.8.gz from install of device-mapper-7:1.02.107-5.el7_2.1.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
我不确定它是什么。 whereis R 没有任何内容,因为它没有安装。
如果我安装了Rstudio Server,就会启动服务失败,提示ERROR unable to find installation of R in the system
谁能告诉我如何在 Centos 7 上正确安装 R?
【问题讨论】:
-
那与R无关。你的日志显示“device-mapper”和“lvm2”之间存在冲突,并且这些包用于操作硬盘和分区等设备(在有人反对之前)我,是的,这是一个粗略的简化)。在安装 R 之前,您是否尝试过使用 yum 更新系统?
-
你是对的。请张贴作为答案,我会接受你的学分。谢谢。
标签: r centos7 rstudio-server