繁体   English   中英

无法在Centos 7上安装R

[英]Failed to install R on Centos 7

我有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更新系统。

我先更新了lvm2解决了这个问题,然后安装了R。这个想法来自: https ://bugzilla.redhat.com/show_bug.cgi?id=1294128

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM