我有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,它将无法启动该服务,并声明为ERROR unable to find installation of R in the system
有人能告诉我如何在Centos 7上正确地安装R吗?
发布于 2016-04-06 15:35:22
这与R无关。您的日志显示了“设备映射器”和"lvm2“之间的冲突,这些包用于操作硬盘和分区等设备(在有人拒绝我之前,是的,这是一个粗略的简化)。
在安装R之前,您应该尝试用yum更新系统。
发布于 2016-09-01 23:41:10
我首先通过更新lvm2来解决这个问题,然后安装R。这个想法来自:bug.cgi?id=1294128
https://stackoverflow.com/questions/36439746
复制相似问题