PDA

View Full Version : [lubuntu] Trying to upgrade R in Lucid. Any easy and painless way?



floral
August 31st, 2012, 08:48 PM
Hello,
I need your help.
I work on Lucid 10.04. Recently I started working on R (through R studio and terminal) and on Eclipse StatEt
I have constantly warnings and errors. I tried to solve them by searching on the internet and I suspect that the majority of them are caused when working on an older version of R.

Now I want to upgrade R, but the Software Manager does not contain the release of 2.15
I want to avoid .tar.gz files, for obvious reasons

So, I tried to follow these suggestions http://stackoverflow.com/questions/10476713/how-to-upgrade-r-in-ubuntu
but I get the following error (the translation is in bold and parentheses):

----@laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg: requesting key E084DAB9 from hkp server keyserver.ubuntu.com
gpg: key E084DAB9: public key "Michael Rutter <marutter@gmail.com>" imported
gpg: Συνολικός αριθμός που επεξεργάστηκαν: 1
gpg: εισαχθέντα: 1 (RSA: 1)
-----@laptop:~$ gpg -a --export E084DAB9 | sudo apt-key add -
[sudo] password for -----:
OK
-----@laptop:~$ sudo apt-get update && sudo apt-get upgrade
Hit http://gr.archive.ubuntu.com lucid Release.gpg
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid/main Translation-el
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-el
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid/universe Translation-el
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-el
Φέρε:1 http://gr.archive.ubuntu.com lucid-updates Release.gpg [198B]
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-el
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-el
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-el
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-el
Φέρε:2 http://gr.archive.ubuntu.com lucid-backports Release.gpg [198B]
Αγνόησε http://gr.archive.ubuntu.com/ubuntu/ lucid-backports/main Translation-el
Αγνόησε http://gr.archive.ubuntu.com/ubuntu/ lucid-backports/restricted Translation-el
Αγνόησε http://gr.archive.ubuntu.com/ubuntu/ lucid-backports/universe Translation-el
Αγνόησε http://gr.archive.ubuntu.com/ubuntu/ lucid-backports/multiverse Translation-el
Hit http://ppa.launchpad.net lucid Release.gpg
Αγνόησε http://ppa.launchpad.net/gummi/gummi/ubuntu/ lucid/main Translation-el
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Αγνόησε http://archive.canonical.com/ubuntu/ lucid/partner Translation-el
Φέρε:3 http://packages.medibuntu.org lucid Release.gpg [198B]
Φέρε:4 http://gr.archive.ubuntu.com lucid-security Release.gpg [198B]
Αγνόησε http://gr.archive.ubuntu.com/ubuntu/ lucid-security/main Translation-el
Αγνόησε http://gr.archive.ubuntu.com/ubuntu/ lucid-security/restricted Translation-el
Αγνόησε http://gr.archive.ubuntu.com/ubuntu/ lucid-security/universe Translation-el
Αγνόησε http://gr.archive.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-el
Αγνόησε http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ lucid/main Translation-el
Hit http://ppa.launchpad.net lucid Release.gpg
Αγνόησε http://ppa.launchpad.net/ubuntu-clamav/ppa/ubuntu/ lucid/main Translation-el
Hit http://ppa.launchpad.net lucid Release
Φέρε:5 http://gr.archive.ubuntu.com lucid-proposed Release.gpg [198B]
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid-proposed/restricted Translation-el
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid-proposed/main Translation-el
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid-proposed/multiverse Translation-el
Hit http://gr.archive.ubuntu.com/ubuntu/ lucid-proposed/universe Translation-el
Hit http://gr.archive.ubuntu.com lucid Release
Φέρε:6 http://gr.archive.ubuntu.com lucid-updates Release [58,3kB]
Hit http://archive.canonical.com lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Φέρε:7 http://gr.archive.ubuntu.com lucid-backports Release [57,3kB]
Αγνόησε http://packages.medibuntu.org/ lucid/free Translation-el
Φέρε:8 http://gr.archive.ubuntu.com lucid-security Release [57,3kB]
Hit http://ppa.launchpad.net lucid/main Packages
Φέρε:9 http://gr.archive.ubuntu.com lucid-proposed Release [58,3kB]
Hit http://deb.opera.com stable Release.gpg
Αγνόησε http://deb.opera.com/opera/ stable/non-free Translation-el
Hit http://archive.canonical.com lucid/partner Packages
Hit http://gr.archive.ubuntu.com lucid/main Packages
Hit http://gr.archive.ubuntu.com lucid/restricted Packages
Hit http://gr.archive.ubuntu.com lucid/main Sources
Hit http://gr.archive.ubuntu.com lucid/restricted Sources
Hit http://gr.archive.ubuntu.com lucid/universe Packages
Hit http://gr.archive.ubuntu.com lucid/universe Sources
Hit http://gr.archive.ubuntu.com lucid/multiverse Packages
Hit http://gr.archive.ubuntu.com lucid/multiverse Sources
(Bring) Φέρε:10 http://cran.cnr.berkeley.edu lucid/ Release.gpg [490B]
Hit http://ppa.launchpad.net lucid/main Packages
Φέρε:11 http://gr.archive.ubuntu.com lucid-updates/main Packages [635kB]
Hit http://archive.canonical.com lucid/partner Sources
Hit http://deb.opera.com stable Release
Αγνόησε http://packages.medibuntu.org/ lucid/non-free Translation-el
Hit http://ppa.launchpad.net lucid/main Packages
Φέρε:12 http://linux.dropbox.com lucid Release.gpg [489B]
Αγνόησε http://linux.dropbox.com/ubuntu/ lucid/main Translation-el
Hit http://www.mendeley.com Release.gpg
Αγνόησε http://deb.opera.com stable/non-free Packages
Φέρε:13 http://gr.archive.ubuntu.com lucid-updates/restricted Packages [4624B]
Φέρε:14 http://gr.archive.ubuntu.com lucid-updates/main Sources [227kB]
Φέρε:15 http://packages.medibuntu.org lucid Release [6854B]
Αγνόησε http://packages.medibuntu.org lucid Release
Φέρε:16 http://linux.dropbox.com lucid Release [2599B]
Αγνόησε http://www.mendeley.com/repositories/ubuntu/stable/ Translation-el
Φέρε:17 http://gr.archive.ubuntu.com lucid-updates/restricted Sources [2196B]
Φέρε:18 http://gr.archive.ubuntu.com lucid-updates/universe Packages [296kB]
Αγνόησε http://deb.opera.com stable/non-free Packages
(=Ignore) Αγνόησε http://cran.cnr.berkeley.edu/bin/linux/ubuntu/ lucid/ Translation-el
Φέρε:19 http://gr.archive.ubuntu.com lucid-updates/universe Sources [103kB]
Φέρε:20 http://gr.archive.ubuntu.com lucid-updates/multiverse Packages [11,5kB]
Φέρε:21 http://gr.archive.ubuntu.com lucid-updates/multiverse Sources [5821B]
Φέρε:22 http://gr.archive.ubuntu.com lucid-backports/main Packages [19,0kB]
Φέρε:23 http://gr.archive.ubuntu.com lucid-backports/restricted Packages [14B]
Φέρε:24 http://gr.archive.ubuntu.com lucid-backports/universe Packages [55,2kB]
Φέρε:25 http://gr.archive.ubuntu.com lucid-backports/multiverse Packages [1378B]
Φέρε:26 http://gr.archive.ubuntu.com lucid-security/main Packages [445kB]
Hit http://deb.opera.com stable/non-free Packages
Φέρε:27 http://gr.archive.ubuntu.com lucid-security/restricted Packages [2829B]
Φέρε:28 http://gr.archive.ubuntu.com lucid-security/main Sources [129kB]
Φέρε:29 http://gr.archive.ubuntu.com lucid-security/restricted Sources [1267B]
Φέρε:30 http://gr.archive.ubuntu.com lucid-security/universe Packages [155kB]
Hit http://packages.medibuntu.org lucid/free Packages
Φέρε:31 http://gr.archive.ubuntu.com lucid-security/universe Sources [42,0kB]
Φέρε:32 http://gr.archive.ubuntu.com lucid-security/multiverse Packages [5356B]
Φέρε:33 http://gr.archive.ubuntu.com lucid-security/multiverse Sources [2321B]
Φέρε:34 http://linux.dropbox.com lucid/main Packages [1029B]
Φέρε:35 http://gr.archive.ubuntu.com lucid-proposed/restricted Packages [14B]
Φέρε:36 http://gr.archive.ubuntu.com lucid-proposed/main Packages [138kB]
Φέρε:37 http://gr.archive.ubuntu.com lucid-proposed/multiverse Packages [14B]
Φέρε:38 http://gr.archive.ubuntu.com lucid-proposed/universe Packages [25,8kB]
Φέρε:39 http://cran.cnr.berkeley.edu lucid/ Release [2270B]
Hit http://packages.medibuntu.org lucid/non-free Packages
Hit http://packages.medibuntu.org lucid/free Sources
Hit http://www.mendeley.com Release
Hit http://packages.medibuntu.org lucid/non-free Sources
Φέρε:40 http://cran.cnr.berkeley.edu lucid/ Packages [49,2kB]
Αγνόησε http://www.mendeley.com Packages
Αγνόησε http://www.mendeley.com Packages
Hit http://www.mendeley.com Packages
Μεταφορτώθηκαν 2595kB σε 4s (635kB/s)
W: GPG error: http://packages.medibuntu.org lucid Release: Οι παρακάτω υπογραφές δεν ήταν δυνατόν να επαληθευτούν επειδή δεν ήταν διαθέσιμο το δημόσιο κλειδί: NO_PUBKEY 2EBC26B60C5A2783
(=the signatures below are not possible to be verified because the public key is not available)
E: Αδύνατο το κλείδωμα /var/lib/dpkg/lock - open (11: Ο πόρος είναι προσωρινά μη διαθέσιμος)
(= impossible to lock /var/lib/dpkg/lock - open (the source is temporarily unavailable))
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
My main question is: is there an easy default way to get R upgraded without errors, warnings, remaining in Lucid, once and for all?

And another question. Since I work on Rstudio and Eclipse (I do not actually have any significant output due to the amount of warnings :( ) will I have to configure them with the new R version or will they recognise it on their own?

P.S. I use Ubuntu for 3 years and I do not have the time to learn to use the terminal commands. Linux is so much better than Windows in so many ways, but sometimes I wish I had the .exe file and say just YES and get things installed and done... even with the risk of getting a virus. Now I work on Windows, until I fix this problem.
Thank you for your time :)