簡體   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