作者psinqoo (零度空间)
看板R_Language
标题[问题] LINUX 安装R 出问题
时间Mon Sep 7 17:09:12 2015
ctrl + y 可以删除一整行,请将不需要的内容删除
文章分类提示:
- 问题: 当你想要问问题时,请使用这个类别
[问题类型]:
程式谘询(我想用R 做某件事情,但是我不知道要怎麽用R 写出来)
[软体熟悉度]:
请把以下不需要的部份删除
使用者(已经有用R 做过不少作品)
[问题叙述]:
请简略描述你所要做的事情,或是这个程式的目的
可以 PING
su -c 'rpm -Uvh
http://ftp.yzu.edu.tw/Linux/Fedora-EPEL/7/x86_64/e/epel-release-7-5.noarch.rpm'
sudo yum update
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the
problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or
use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most
commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a
nice
compromise:
yum-config-manager --save
--setopt=<repoid>.skip_if_unavailable=true
[程式范例]:
程式码可贴於以下网站:
[环境叙述]:
请提供 sessionInfo() 的输出结果,
里面含有所有你使用的作业系统、R 的版本和套件版本资讯,
让版友更容易找出错误
[关键字]:
R
centos 7
选择性,也许未来有用
--
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 61.220.43.131
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/R_Language/M.1441616956.A.62A.html
1F:→ psinqoo: 没有YUM 虚拟机器问题 09/09 08:33
2F:→ Neisseria: 是 EPEL 的 repo 的问题吗?抓别的套件试试看? 09/09 22:59
※ 编辑: psinqoo (61.220.43.131), 09/10/2015 14:53:44