Skip to content

Problem upgrading to 2.11

6 messages · Ben Domingue, Michael Rutter

#
Hello,
I am trying to upgrade to 2.11 from 2.10 in the hopes of gaining
TCL/TK capabilities (let's pretend for the moment that this should
work).  I've added "deb http://cran.stat.ucla.edu/bin/linux/ubuntu
lucid/" to /etc/apt/sources.list as described in the guide and have
run
apt-get update
apt-get install r-base r-base-dev
Things seem to work.  When I look at the installed packages on my
machine, I see:
bd at bd-laptop:~$ apt-show-versions | grep "r-base"
r-base/unknown uptodate 2.11.1-2lucid0
r-base-core/unknown uptodate 2.11.1-2lucid0
r-base-dev/unknown uptodate 2.11.1-2lucid0
But when I run R, I'm still running 2.10:
R version 2.10.1 (2009-12-14)
x86_64-unknown-linux-gnu

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
_
platform       x86_64-unknown-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          2
minor          10.1
year           2009
month          12
day            14
svn rev        50720
language       R
version.string R version 2.10.1 (2009-12-14)


What's going on?  Sorry if this has been addressed before; I've been
unable to find it in the archives.

Ben Domingue
#
On 07/26/2010 04:48 PM, Ben Domingue wrote:
Ben,

Not sure why you have:

 > r-base/unknown uptodate 2.11.1-2lucid0

You should have:

r-base/lucid uptodate 2.11.1-2lucid0

I think the first thing to do is remove R and then re-install.

sudo apt-get remove r-base r-base-dev
sudo apt-get update
sudo apt-get install r-base r-base-dev

If that does not work, resend the what apt-show-versions and R.version 
return.

Hope this helps,
Michael
#
On Mon, Jul 26, 2010 at 3:12 PM, Michael Rutter <mar36 at psu.edu> wrote:
Thanks Michael.  I did what you suggested, but I still have
bd at bd-laptop:~$ apt-show-versions | grep "r-base"
r-base/unknown uptodate 2.11.1-2lucid0
r-base-core/unknown uptodate 2.11.1-2lucid0
r-base-dev/unknown uptodate 2.11.1-2lucid0
r-base-html/unknown uptodate 2.11.1-2lucid0

The only thing I can think is that it may be related to the mirror.
The line in my sources.list reads:
deb http://cran.stat.ucla.edu/bin/linux/ubuntu lucid/
which seems right, but perhaps I'm missing something.  I'm not
bothering with the key, so perhaps that is part of the problem...
Here is the R.version:
_
platform       x86_64-unknown-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          2
minor          10.1
year           2009
month          12
day            14
svn rev        50720
language       R
version.string R version 2.10.1 (2009-12-14)
#
Perhaps this is me missing something obvious, but I've also noticed
that I'm still able to run R even though none of the r-base packages
seem to be installed (i.e. nothing is returned by apt-show-versions |
grep "r-base").  I'm not sure what to make of that, but thought it was
worth noting.

Ben
On Mon, Jul 26, 2010 at 3:43 PM, Ben Domingue <ben.domingue at gmail.com> wrote:
#
On 07/26/2010 05:57 PM, Ben Domingue wrote:
Did you compile R from source before you used apt-get?  If you remove R 
with apt-get and are still able to run R, something is wrong with your 
system.  I would remove R with apt-get, reboot the machine, and if you 
can still run R, try to find where it is located ("which R") and try 
removing that version as well.

Michael
#
That worked.  Thanks!
On Mon, Jul 26, 2010 at 4:00 PM, Michael Rutter <mar36 at psu.edu> wrote: