为什么我要在Debian中获取最新版本的R?

时间:2015-09-29 19:46:55

标签: linux r debian

我想将我当前的R版本2.15.1升级到Debian wheezy的最新版R,我尝试了以下步骤,但不幸的是我没有成功。 Step1:我在" /etc/apt/sources.list

结尾添加了以下两行
deb http://cran.revolutionanalytics.com/bin/linux/debian wheezy-cran3/
deb-src http://cran.revolutionanalytics.com/bin/linux/debian wheezy-cran3/

然后我在终端上运行这些命令:

gpg --keyserver pgpkeys.mit.edu --recv-key 06F90DE5381BA480

gpg -a --export 06F90DE5381BA480 |sudo apt-key add 

最后运行:

apt-get update

aptitude -t wheezy-cran3 install r-base r-base-dev

但我得到以下错误:

Ign ftp://ftp.mpi-sb.mpg.de wheezy/non-free Translation-en                                                                                    
Fetched 162 kB in 8s (19.0 kB/s)                                                                                                              
W: Failed to fetch http://cran.revolutionanalytics.com/bin/linux/debian/wheezy-cran3/Sources  301  Moved Permanently

W: Failed to fetch http://cran.revolutionanalytics.com/bin/linux/debian/wheezy-cran3/Packages  301  Moved Permanently

E: Some index files failed to download. They have been ignored, or old ones used instead.
lap-97-35:/etc/apt# aptitude -t wheezy-cran3 install r-base r-base-dev
E: The value 'wheezy-cran3' is invalid for APT::Default-Release as such a release is not available in the sources
E: The value 'wheezy-cran3' is invalid for APT::Default-Release as such a release is not available in the sources

有人可以帮我解决这个问题吗?

0 个答案:

没有答案
相关问题