sam mcquillin
2008-Nov-04 03:48 UTC
[R-sig-Debian] Problem Updating from 2.71 to 2.8 in Ubuntu
Hello, I have recently installed Ubuntu (8.10) Intrepid Ibex and I am trying to get R version 2.8. I have changed my /etc/apt/sources.list file to include a mirror. I have also added the Vincent Goulet key. However, whenever I run sudo apt-get update sudo apt-get install r-base it installs version 2.71. Given that I am new to Ubuntu, is there anything that I need to do to make ubuntu get the file from my selected repository? It appears that when I install r-base Ubuntu is taking it from another repository. I should also note that within the Synaptic Package Manager the 2.71 version of R is the r-base that appears, despite my repository appearing correct in the drop down box from settings (under the 3rd party software tab). I am relatively new to Ubuntu, so help that explicitly details instructions would be greatly appreciated. Below is a portion of my output from both of the above commands. The mirror I am trying to download from is http://mirrors.ibiblio.org/pub/mirrors/CRAN/, as can be seen in the first part of the output. sammcq@sammcq-desktop:~$ sudo apt-get update Hit http://mirrors.ibiblio.org intrepid/ Release.gpg Hit http://us.archive.ubuntu.com intrepid Release.gpg Ign http://us.archive.ubuntu.com intrepid/main Translation-en_US Hit http://security.ubuntu.com intrepid-security Release.gpg Ign http://security.ubuntu.com intrepid-security/main Translation-en_US Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US Ign http://mirrors.ibiblio.org intrepid/ Translation-en_US Ign http://us.archive.ubuntu.com intrepid/restricted Translation-en_US Ign http://us.archive.ubuntu.com intrepid/universe Translation-en_US Ign http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg Ign http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US Ign http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US Ign http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US Ign http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US Hit http://security.ubuntu.com intrepid-security Release Hit http://us.archive.ubuntu.com intrepid Release Hit http://mirrors.ibiblio.org intrepid/ Release Hit http://security.ubuntu.com intrepid-security/main Packages Hit http://us.archive.ubuntu.com intrepid-updates Release Hit http://security.ubuntu.com intrepid-security/restricted Packages Hit http://security.ubuntu.com intrepid-security/main Sources Hit http://security.ubuntu.com intrepid-security/restricted Sources Ign http://mirrors.ibiblio.org intrepid/ Packages Hit http://us.archive.ubuntu.com intrepid/main Packages Hit http://us.archive.ubuntu.com intrepid/restricted Packages Hit http://us.archive.ubuntu.com intrepid/main Sources Hit http://us.archive.ubuntu.com intrepid/restricted Sources Hit http://us.archive.ubuntu.com intrepid/universe Packages Hit http://security.ubuntu.com intrepid-security/universe Packages Hit http://security.ubuntu.com intrepid-security/universe Sources Hit http://security.ubuntu.com intrepid-security/multiverse Packages Hit http://security.ubuntu.com intrepid-security/multiverse Sources Hit http://us.archive.ubuntu.com intrepid/universe Sources Hit http://us.archive.ubuntu.com intrepid/multiverse Packages Hit http://us.archive.ubuntu.com intrepid/multiverse Sources Hit http://us.archive.ubuntu.com intrepid-updates/main Packages Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages Hit http://us.archive.ubuntu.com intrepid-updates/main Sources Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages Hit http://mirrors.ibiblio.org intrepid/ Packages Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources Reading package lists... Done sammcq@sammcq-desktop:~$ sudo apt-get install r-base Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: r-base-core r-base-dev r-base-html r-base-latex r-cran-boot r-cran-cluster r-cran-codetools r-cran-foreign r-cran-kernsmooth r-cran-lattice r-cran-mgcv r-cran-nlme r-cran-rpart r-cran-survival r-cran-vr r-recommended Suggested packages: ess r-doc-info r-doc-pdf r-doc-html r-mathlib cdbs debhelper The following NEW packages will be installed: r-base r-base-core r-base-dev r-base-html r-base-latex r-cran-boot r-cran-cluster r-cran-codetools r-cran-foreign r-cran-kernsmooth r-cran-lattice r-cran-mgcv r-cran-nlme r-cran-rpart r-cran-survival r-cran-vr r-recommended 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/18.0MB of archives. After this operation, 69.8MB of additional disk space will be used. Do you want to continue [Y/n]? y Selecting previously deselected package r-base-core. (Reading database ... 110400 files and directories currently installed.) Unpacking r-base-core (from .../r-base-core_2.7.1-2_i386.deb) ... Selecting previously deselected package r-cran-boot. etc.c etc. -- [[alternative HTML version deleted]]
Dirk Eddelbuettel
2008-Nov-04 04:25 UTC
[R-sig-Debian] Problem Updating from 2.71 to 2.8 in Ubuntu
On 3 November 2008 at 22:48, sam mcquillin wrote: | I have recently installed Ubuntu (8.10) Intrepid Ibex and I am trying to get | R version 2.8. I have changed my /etc/apt/sources.list file to include a | mirror. I have also added the Vincent Goulet key. However, whenever I run | | sudo apt-get update | sudo apt-get install r-base | | it installs version 2.71. Given that I am new to Ubuntu, is there | anything that I need to do to make ubuntu get the file from my | selected repository? It appears that when I install r-base Ubuntu | is taking it from another repository. I should also note that within | the Synaptic Package Manager the 2.71 version of R is the r-base that | appears, despite my repository appearing correct in the drop down box | from | settings (under the 3rd party software tab). I am relatively new to | Ubuntu, so help that explicitly details instructions would be greatly | appreciated. | Below is a portion of my output from both of the above commands. The | mirror I am trying to download from is | http://mirrors.ibiblio.org/pub/mirrors/CRAN/, | as can be seen in the first part of the output. As you are not getting the CRAN builds you want, I suspect that the mirror you use is out of sync. For what it's worth, this one works for me deb http://cran.us.r-project.org/bin/linux/ubuntu intrepid/ Add this, run 'sudo apt-get update' and 'apt-cache policy r-base' and you should see a version 2.8.0-1hardy1 as being available. Hth, Dirk -- Three out of two people have difficulties with fractions.