[R-sig-Debian] Ubuntu 13.10 - not able to upgrade R
Dirk Eddelbuettel
edd at debian.org
Fri Apr 18 13:01:51 CEST 2014
On 18 April 2014 at 05:49, Martin Bel wrote:
| Hi,
| I'm having some issues upgrading R. I'm using ubuntu linux 13.10, saucy and would like to upgrade R to the new version.I'm currently using 3.0.1
| I've been following the instructions given in:1. http://stackoverflow.com/questions/10476713/how-to-upgrade-r-in-ubuntuand2. http://cran.r-project.org/bin/linux/ubuntu/
|
| Here is exactly what i did, following mostly the stackoverflow description:
| 1) Added the cran mirror link to the sources list(I've actually tryed with 3 different mirrors just in case)sudo gedit /etc/apt/sources.listdeb http://cran.cnr.berkeley.edu/bin/linux/ubuntu/ saucy/
| 2) Getting the key step gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9gpg -a --export E084DAB9 | sudo apt-key add -
| 3) Run the updates/upgradessudo apt-get update && sudo apt-get upgrade
| After a large list of succesful updates i get the following result in the terminal:
|
| W: Failed to fetch http://cran.cnr.berkeley.edu/bin/linux/ubuntu/saucy/InRelease
| W: Failed to fetch http://cran.cnr.berkeley.edu/bin/linux/ubuntu/saucy/Release.gpg Cannot initiate the connection to cran.cnr.berkeley.edu:80 (2607:f140:0:8000::201). - connect (101: Network is unreachable) [IP: 2607:f140:0:8000::201 80]
| W: Some index files failed to download. They have been ignored, or old ones used instead.Reading package lists... DoneBuilding dependency tree Reading state information... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
You have a network error with the host, so use a different mirror. I use
deb http://cran.rstudio.com.org/bin/linux/ubuntu saucy/
as I found the RStudio CDN to be reliably fast.
Dirk
| I've done this a few times. At this point there are no more updates and the R error is isolated.
| Is there a solution to this or should i just re-install R.
| Thanks for your time,
| Martin
|
| [[alternative HTML version deleted]]
|
| _______________________________________________
| R-SIG-Debian mailing list
| R-SIG-Debian at r-project.org
| https://stat.ethz.ch/mailman/listinfo/r-sig-debian
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the R-SIG-Debian
mailing list