[R-sig-Debian] Trying to upgrade from R 2.7.1

Johannes Ranke jranke at uni-bremen.de
Sun May 30 18:17:02 CEST 2010


Hi,

Am Donnerstag, 27. Mai 2010, um 16:40:53 schrieb Michael Friendly:
> [Running debian stable]
> 
> I followed the instructions at
> http://cran.r-project.org/bin/linux/debian, adding
> deb http://cran.R-project.org/bin/linux/debian lenny-cran/
> to /etc/apt/sources.list.  But apt-get still leaves me with R 2.7.1.
> 
> How can I diagnose what's wrong or correct this?
> 
> euclid: /etc/apt # apt-get update
> Hit http://debian.yorku.ca stable Release.gpg
> Ign http://debian.yorku.ca stable/main
> Translation-en_CA
> Hit http://debian.yorku.ca stable/updates
> Release.gpg
> Ign http://debian.yorku.ca stable/updates/main Translation-en_CA
> Hit http://debian.yorku.ca testing Release.gpg
> Ign http://debian.yorku.ca testing/main Translation-en_CA
> Hit http://debian.yorku.ca stable Release
> Hit http://debian.yorku.ca stable/updates Release
> Hit http://debian.yorku.ca testing Release
> Ign http://debian.yorku.ca stable/main
> Packages/DiffIndex
> Ign http://debian.yorku.ca stable/main
> Sources/DiffIndex
> Hit http://debian.yorku.ca stable/main
> Packages
> Hit http://debian.yorku.ca stable/main
> Sources
> Ign http://debian.yorku.ca stable/updates/main
> Packages/DiffIndex
> Hit http://debian.yorku.ca stable/updates/main
> Packages
> Hit http://debian.yorku.ca testing/main
> Packages/DiffIndex
> Hit http://security.debian.org stable/updates Release.gpg
> Ign http://security.debian.org stable/updates/main Translation-en_CA
> Get: 1 http://cran.R-project.org lenny-cran/ Release.gpg [197B]
> Ign http://cran.R-project.org lenny-cran/ Translation-en_CA
> Hit http://security.debian.org stable/updates Release
> Ign http://security.debian.org stable/updates/main Packages/DiffIndex
> Get: 2 http://cran.R-project.org lenny-cran/ Release [1288B]
> Hit http://security.debian.org stable/updates/main Packages
> Ign http://cran.R-project.org lenny-cran/ Packages
> Get: 3 http://cran.R-project.org lenny-cran/ Packages [11.1kB]
> Fetched 12.5kB in 2s (5597B/s)
> Reading package lists... Done
> 
> 
> euclid: /etc/apt # apt-get -t unstable install r-base r-base-dev

Why did you use -t unstable? The distribution on CRAN for lenny is called 
lenny-cran, not unstable. Anyway, tagging should not be necessary. What does

apt-cache policy r-base-core

tell you? It should list both R 2.7.1 from lenny and R 2.11.0 from lenny-cran.

Kind regards,

Johannes


> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> r-base is already the newest version.
> r-base-dev is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 715 not upgraded.
> 
> euclid: /etc/apt # R --version
> R version 2.7.1 (2008-06-23)
> Copyright (C) 2008 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0



More information about the R-SIG-Debian mailing list