Hi, I'm trying to install R from an rpm locally to my account (the reason I'm not doing it through yast/yast2/zypper is that the sys admin isn't yet willing to install it, and doesn't want to support it, but will help me support it if I install it locally -- in short, policy problems rather than technical). Below is the SuSE version, Kernel version, and rpm install error I'm getting, as well as the error... Can anyone help me with the error? I'm trying to install R-base 2.14.1, but it is telling me that I need R-base version 2.14.1 as a dependency. Am I using the wrong rpm for an installation starting from scratch? I got the rpm from: http://download.opensuse.org/repositories/devel:/languages:/R:/base/SLE_10/x86_64/ Thanks, Matt pettis@swat:~/bin> cat /etc/*-release SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 2 pettis@swat:~/bin> uname -a Linux swat 2.6.16.60-0.34-smp #1 SMP Fri Jan 16 14:59:01 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux pettis@swat:~/bin> rpm -ivh R-base-devel-2.14.1-30.1.x86_64.rpm warning: R-base-devel-2.14.1-30.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 793371fe error: Failed dependencies: R-base = 2.14.1 is needed by R-base-devel-2.14.1-30.1.x86_64 [[alternative HTML version deleted]]
I think it's saying you need to install R-base before R-base-devel. You'll need to add a cran repository as SUSE might not have the most up-to-date version of R. This is the code for Ubuntu I assume it's the same, just change the distro and keyserver: sudo apt-get update sudo add-apt-repository 'deb http://cran.ma.imperial.ac.uk/bin/linux/ubuntu oneiric/' gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 gpg -a --export E084DAB9 | sudo apt-key add - You may also want to get Sun java, again, change distro and keyserver: sudo add-apt-repository ppa:ferramroberto/java sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com B725097B3ACC3965 sudo apt-get update sudo apt-get install sun-java6-jdk sun-java6-plugin Then run: sudo apt-get install r-base r-base-dev sudo R CMD javareconf Cheers, Gavin. -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Matthew Pettis Sent: 13 January 2012 16:43 To: r-help at r-project.org Subject: [R] Problem Installing R to SuSE 10 via RPM Hi, I'm trying to install R from an rpm locally to my account (the reason I'm not doing it through yast/yast2/zypper is that the sys admin isn't yet willing to install it, and doesn't want to support it, but will help me support it if I install it locally -- in short, policy problems rather than technical). Below is the SuSE version, Kernel version, and rpm install error I'm getting, as well as the error... Can anyone help me with the error? I'm trying to install R-base 2.14.1, but it is telling me that I need R-base version 2.14.1 as a dependency. Am I using the wrong rpm for an installation starting from scratch? I got the rpm from: http://download.opensuse.org/repositories/devel:/languages:/R:/base/SLE_10/x86_64/ Thanks, Matt pettis at swat:~/bin> cat /etc/*-release SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 2 pettis at swat:~/bin> uname -a Linux swat 2.6.16.60-0.34-smp #1 SMP Fri Jan 16 14:59:01 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux pettis at swat:~/bin> rpm -ivh R-base-devel-2.14.1-30.1.x86_64.rpm warning: R-base-devel-2.14.1-30.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 793371fe error: Failed dependencies: R-base = 2.14.1 is needed by R-base-devel-2.14.1-30.1.x86_64 [[alternative HTML version deleted]] ______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
On Jan 13, 2012, at 17:43 , Matthew Pettis wrote:> Hi, > > I'm trying to install R from an rpm locally to my account (the reason I'm > not doing it through yast/yast2/zypper is that the sys admin isn't yet > willing to install it, and doesn't want to support it, but will help me > support it if I install it locally -- in short, policy problems rather than > technical). Below is the SuSE version, Kernel version, and rpm install > error I'm getting, as well as the error...As others have said, installing from RPM outside the system folders could be a no-go. Another option is to install from source, this works fine if you have all the relevant packages installed (compilers, libraries, header files...). If you don't already have them get your sysadm to install them (say, one per day over a couple of weeks, until he sees the error of his ways...). But really, the painless option for both of you is just to install it from the official SUSE sources with yast, keep it updated automagically, and keep all add-on packages in your own home directory. The sysadmin workload for R on SUSE (and most other Linuxen) should be essentially nil.> > Can anyone help me with the error? I'm trying to install R-base 2.14.1, > but it is telling me that I need R-base version 2.14.1 as a dependency. Am > I using the wrong rpm for an installation starting from scratch? > > I got the rpm from: > http://download.opensuse.org/repositories/devel:/languages:/R:/base/SLE_10/x86_64/ > > Thanks, > Matt > > > > > pettis at swat:~/bin> cat /etc/*-release > SUSE Linux Enterprise Server 10 (x86_64) > VERSION = 10 > PATCHLEVEL = 2 > > pettis at swat:~/bin> uname -a > Linux swat 2.6.16.60-0.34-smp #1 SMP Fri Jan 16 14:59:01 UTC 2009 x86_64 > x86_64 x86_64 GNU/Linux > > pettis at swat:~/bin> rpm -ivh R-base-devel-2.14.1-30.1.x86_64.rpm > warning: R-base-devel-2.14.1-30.1.x86_64.rpm: Header V3 DSA signature: > NOKEY, key ID 793371fe > error: Failed dependencies: > R-base = 2.14.1 is needed by R-base-devel-2.14.1-30.1.x86_64 > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com