CRLfile:无??? 尝试将 R 更新到最新版本,已在 Google 上搜索了好几天

CRLfile:无??? 尝试将 R 更新到最新版本,已在 Google 上搜索了好几天

Ubuntu 14.04 我收到一个错误

sudo apt-get update
###other stuff###
Err https://cran.mtu.edu trusty/ Packages           
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E084DAB9
gpg: requesting key E084DAB9 from hkp server keyserver.ubuntu.com
gpg: key E084DAB9: "Michael Rutter <[email protected]>" not changed

gpg: Total number processed: 1
gpg:              unchanged: 1
gpg -a --export E084DAB9 | sudo apt-key add -
OK

sudo apt-get install r-base
Reading package lists... Done
Building dependency tree       
Reading state information... Done
r-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.

但....

~$ R

 R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
 Copyright (C) 2013 The R Foundation for Statistical Computing
 Platform: x86_64-pc-linux-gnu (64-bit)

这些似乎是https://cran.r-project.org/bin/linux/ubuntu/README以及各种博客文章

答案1

我用于更新 R 和 CRAN 包的方法是添加 Michael Rutter 的 PPA(CI-Travis 也使用):

sudo add-apt-repository ppa:marutter/rrutter
sudo add-apt-repository ppa:marutter/c2d4u
sudo apt-get update
sudo apt-get upgrade

相关内容