[R-sig-Debian] Upgrading to R 2.5.1 on Ubuntu Feisty 64

Dirk Eddelbuettel edd at debian.org
Thu Jul 26 16:25:05 CEST 2007


Hi Christophe,

Thanks for posting here -- this should give you the audience for R
questions on Debian / Ubuntu.  I do use Ubuntu at work, but as
maintainer of the package I do know its structture and simple rebuild
(on x86).

I think Johannes and Vincent have published sets of (Python?) scripts
that automate fetching the package source and locally rebuilding.  For
small packages with small built-dependencies, this can be as trivial
as a single apt-get call.  For R it is typically not much more work,
but R 2.5.1 did switch to compiler gcc-4.2 etc, so this time you need
to do minimal editing of debian/control (to reduce the Build-Depends)
and debian/rules (to undo the compiler setting from gcc-4.2 to gcc,
same for g++, gfortran).

That should be all. I hope others can pitch in with tips. I am a
little pressed for time right now or I'd try to cook up a tutorial --
we should create one on the R or Debian or Ubuntu wikis as this
package rebuilding is generally useful.  Also do look if there are
generic 'backporting' tutorials somewhere for Debian that show the
mechanics.

Please give it a try and post questions here.

Cheers, Dirk


On Thu, Jul 26, 2007 at 11:57:12AM +0200, Christophe Bonenfant wrote:
> Hi there,
> 
> A new thread was started on the R list about problems to upgrade R to
> version 2.5.1 and we were re-directed on this list. We are two with
> exactly the same problem and the same distribution (Ubuntu Feisty 64).
> We are unable to upgrade to R 2.5.1. The r-base-core package is version
> 2.4.1 in Ubuntu repositories while all others r-cran related packages
> are upgraded to R 2.5.1 (r-base-dev,r-base...). This doesn't seem to be
> the case for the 32-bits version.
> 
> Do you have any tips to go through this? Thanks.
> 
> Christophe
> 
> Details:
> 
> $ uname -a
> 
> Linux bronski 2.6.20-16-generic #2 SMP Thu Jun 7 19:00:28 UTC 2007
> x86_64 GNU/Linux
> 
>   > R.version
>                  _
> platform       x86_64-pc-linux-gnu
> arch           x86_64
> os             linux-gnu
> system         x86_64, linux-gnu
> status
> major          2
> minor          4.1
> year           2006
> month          12
> day            18
> svn rev        40228
> language       R
> version.string R version 2.4.1 (2006-12-18)
> 
> $ cat /etc/apt/sources.list
> 
> ...
> 
> ## Clé : gpg --keyserver subkeys.pgp.net --recv-key E2A11821
> ## puis : gpg -a --export E2A11821 | sudo apt-key add -
> deb http://cran.univ-lyon1.fr/bin/linux/ubuntu feisty/
> #deb http://cran.cict.fr//bin/linux/ubuntu feisty/
> 
> ...
> 
> 
> -- 
> _____________________________________________________
> 
> UMR CNRS 5558,
> Laboratoire de Biométrie et Biologie Evolutive
> Université Claude Bernard Lyon 1
> 43, Boulevard du 11 Novembre 1918
> 69622 Villeurbanne cedex
> FRANCE                                    \\\
>                                            (  ">
> Phone : (+33) 4 72 44 81 11                )(
> Fax: (+33) 4 72 43 13 88                  // )
>                                         --//""--
> 
> http://lbbe.univ-lyon1.fr/-Bonenfant-Christophe-.html
> 
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian

-- 
Three out of two people have difficulties with fractions.



More information about the R-SIG-Debian mailing list