[R-sig-Debian] Upgrading 2.15.3 to 3.0.x on Debian Squeeze?

Johannes Ranke jranke at uni-bremen.de
Tue Dec 10 08:06:28 CET 2013

just a quick follow-up:


> >> - http://cran.us.r-project.org/bin/linux/debian/ says I should run
> >>   "`dpkg -get-selections | grep r-cran` and compare with the list of
> >>   packages supported below."  I've done that, but I don't know what to
> >>   do with that knowledge: do I `aptitude remove` all of those packages
> >>   /not/ listed below or do something else?
> >
> > Well these are the packages that will not work after the upgrade to R
> > 3.0.x. You can leave them on your system, but I would recommend to
> > remove them and install them from within R using install.packages() 
> > after the upgrade. But just to be clear: you do not need to remove those
> > that are in the list of supported packages in the README as these will
> > be upgraded together with base R.
> `dpkg -get-selections | grep r-cran | wc -l` shows 100 such packages,
> but synaptic shows 25 packages installed from squeeze-cran/main.  So I
> have 25 packages to remove (easy) and 100 to reinstall later (a bit more
> of a chore :-) ).

The 25 packages from squeeze-cran/main will be automatically upgraded
to the versions available in squeeze-cran3 so no need to remove them.


> The two things I didn't understand were
> - what to do when I identified packages that were installed in Debian (I
>   guessed right, but I didn't have the guts to try it and see)
> - what to do when I read seemingly contradictory instructions, even if
>   they were potentially for different platforms

I see your point.

> You helped. 

Good to hear.
> > I have upgraded painlessly using this approach, but it would be nice to 
> > hear about your experiences.
> I'll check back in.
> Vielen Dank!


> Bill
> -- 
> Bill Harris                  
> Facilitated Systems
> http://makingsense.facilitatedsystems.com/

More information about the R-SIG-Debian mailing list