![CRLfile:无??? 尝试将 R 更新到最新版本,已在 Google 上搜索了好几天](https://linux22.com/image/987405/CRLfile%EF%BC%9A%E6%97%A0%3F%3F%3F%20%E5%B0%9D%E8%AF%95%E5%B0%86%20R%20%E6%9B%B4%E6%96%B0%E5%88%B0%E6%9C%80%E6%96%B0%E7%89%88%E6%9C%AC%EF%BC%8C%E5%B7%B2%E5%9C%A8%20Google%20%E4%B8%8A%E6%90%9C%E7%B4%A2%E4%BA%86%E5%A5%BD%E5%87%A0%E5%A4%A9.png)
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