[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 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 -- Michael Friendly Email: friendly at yorku.ca Professor, Psychology Dept. York University Voice: 416 736-5115 x66249 Fax: 416 736-5814 4700 Keele Street http://datvis.ca Toronto, ONT M3J 1P3 CANADA
On Thu, May 27, 2010 at 9:40 AM, Michael Friendly <friendly at yorku.ca> wrote:> [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? >Hi, Michael. I don't do Debian, but I have Ubuntu and know a bit about packaging problems. I believe the problem is this. If you go to> 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 > 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 > > > -- > Michael Friendly ? ? Email: friendly at yorku.ca Professor, Psychology Dept. > York University ? ? ?Voice: 416 736-5115 x66249 Fax: 416 736-5814 > 4700 Keele Street ? ?http://datvis.ca > Toronto, ONT ?M3J 1P3 CANADA > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian >-- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
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-devWhy 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