Good morning. First, thanks for your help Michael. I typed what you suggest me:

kagamin@kagamin-laptop:~$ sudo apt-get -f install
[sudo] password for kagamin:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias      
Leyendo la información de estado... Hecho
Los siguientes paquetes se instalaron automáticamente y no son necesarios:
  liblash2 libktnef4 libboost-regex1.40.0 libdebconf-kde0 libqt4-assistant
  libpackagekit-glib2-14 libkpimtextedit4 libkimproxy4 kpackagekit libjpeg8
  libboost-program-options1.40.0 kdelibs5 libkxmlrpcclient4 libdvbpsi5
  libgeos-3.1.0 kdesudo libavutil-extra-49 libpackagekit-qt-14 libx264-85
  install-package libqgpgme1 libqt4-webkit libboost-signals1.40.0 cvs
  libqtassistantclient4 libkpimidentities4 libaudid3tag2 libgirepository1.0-0
  libao2 packagekit-backend-aptcc libkblog4 python-packagekit libmowgli1
  libxml++1.0c2a packagekit gdebi-kde software-properties-kde kdepimlibs5
  libkholidays4 update-manager-kde libmodplug0c2 packagekit-backend-apt
  libsox1a libjpeg-progs virtuoso-nepomuk libsyndication4 libebml0 libmpcdec3
  libmatroska0 libgpgme++2 libnetcdf4
Utilice «apt-get autoremove» para eliminarlos.
0 actualizados, 0 se instalarán, 0 para eliminar y 30 no actualizados.

My Ubuntu is in spanish, by the way, a 32-bit version ('uname -m' returns 
'i686'). Looking to the .deb packages mentioned it appears none is related to R 
or CRAN, and the list is about packages no longer necessary. I did 'sudo apt-get 
remove' and tried again. The problem is still there, and it occurs after the 
mirrors-window pop up, even I tried different mirrors, just in case.
The download of the packages is ok, and immediatly appears the "buffer overflow" 
message. I tried with the update of the packages 'nlme', 'boot' and 'cluster' 
and the installation of 'agricolae' and 'ggplot2' with the same result: 
'non-zero exit status'.
Another suggestion?




________________________________
De: Michael Rutter <mar36@psu.edu>

CC: r-sig-debian@r-project.org
Enviado: dom,27 marzo, 2011 20:16
Asunto: Re: [R-sig-Debian] "Buffer overflow" updating and installing packages...


ote:
> Good evenings. I am a novice in R and I have a big problem updating and
> installing packages inside R in Ubuntu 10.10  I followed the instructions in
> http://cran.r-project.org/bin/linux/debian/ :
>
> *Added a new repository in Ubuntu : 
http://cran-r.c3sl.ufpr.br/bin/linux/ubuntu
> maverick/
> *update the r-base and r-base-dev packages
> *Enter R with "sudo"
>
> The R version is right [R version 2.12.2 (2011-02-25)] but commands in the R
> console like 'install.packages("pwr")' or install.packages("agricolae") fail
> with the message "*** buffer overflow detected ***: /usr/lib/R/bin/exec/R
> terminated" and a long backtrace and memory map in both cases.
> I tought that the reason was because the above packages are not kept 
up-to-date
> like r-cran packages, but I type the 'update.packages()' command with the
> supported packages and the "buffer overflow"backtrace-memory-map message
>appears
> again in the 13 updates of the supported packages (like boot, nlme, lattice,
> etc).

Edin,

One thing to do is to make sure all your packages have installed
correctly.  Run this command:

sudo apt-get -f install

This may correct the problem.  Also, are you running 32 or 64 bit
Ubuntu?  I have not encountered any a buffer overflow issue on any of
my machines, so this may prove difficult to diagnose.  Does the buffer
overflow (when running update.packages()) occur before or after the
window pops up to ask what mirror you want to use?

Michael

-- 
Dr. Michael A. Rutter
School of Science
Penn State Erie, The Behrend College
Station Road
Erie, PA 16563
http://math.bd.psu.edu/faculty/rutter



      
	[[alternative HTML version deleted]]

