[R] Linux 64-bit R installation problem - "Failed dependencies"
Marc Schwartz
marc_schwartz at me.com
Thu Oct 7 14:28:04 CEST 2010
On Oct 7, 2010, at 3:50 AM, noclue_ wrote:
>
> I am trying to install 64 bit R on Linux. But I got the following error -
>
>
> rpm -i R-core-2.10.0-2.fc11.x86_64.rpm
>
> warning: R-core-2.10.0-2.fc11.x86_64.rpm: Header V3 DSA signature: NOKEY,
> key ID 97d3544e
> error: Failed dependencies:
> /bin/bash is needed by R-core-2.10.0-2.fc11.x86_64
> /bin/sh is needed by R-core-2.10.0-2.fc11.x86_64
> /sbin/ldconfig is needed by R-core-2.10.0-2.fc11.x86_64
> /usr/bin/perl is needed by R-core-2.10.0-2.fc11.x86_64
> cups is needed by R-core-2.10.0-2.fc11.x86_64
> gawk is needed by R-core-2.10.0-2.fc11.x86_64
> ld-linux-x86-64.so.2()(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> ld-linux-x86-64.so.2(GLIBC_2.2.5)(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> less is needed by R-core-2.10.0-2.fc11.x86_64
> libICE.so.6()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libSM.so.6()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libX11.so.6()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libXmu.so.6()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libXt.so.6()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libbz2.so.1()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libc.so.6()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libc.so.6(GLIBC_2.2.5)(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> libc.so.6(GLIBC_2.3)(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libc.so.6(GLIBC_2.3.4)(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> libc.so.6(GLIBC_2.4)(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libc.so.6(GLIBC_2.7)(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libc.so.6(GLIBC_2.8)(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libcairo.so.2()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libdl.so.2()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libdl.so.2(GLIBC_2.2.5)(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> libgcc_s.so.1()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libgfortran.so.3()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libgfortran.so.3(GFORTRAN_1.0)(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> libglib-2.0.so.0()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libgmodule-2.0.so.0()(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> libgobject-2.0.so.0()(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> libicui18n.so.40()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libicuuc.so.40()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libjpeg.so.62()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libm.so.6()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libm.so.6(GLIBC_2.2.5)(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> libpango-1.0.so.0()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libpangocairo-1.0.so.0()(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> libpcre.so.0()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libpng12.so.0()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libpng12.so.0(PNG12_0)(64bit) is needed by
> R-core-2.10.0-2.fc11.x86_64
> libreadline.so.5()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libstdc++.so.6()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libtcl8.5.so()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libtiff.so.3()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libtk8.5.so()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> libz.so.1()(64bit) is needed by R-core-2.10.0-2.fc11.x86_64
> perl is needed by R-core-2.10.0-2.fc11.x86_64
> perl(Carp) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(Cwd) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(Exporter) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(File::Basename) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(File::Compare) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(File::Copy) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(File::Copy::Recursive) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(File::Find) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(File::Path) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(File::Spec) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(FileHandle) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(Getopt::Long) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(IO::File) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(Text::Tabs) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(Text::Wrap) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(strict) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(vars) is needed by R-core-2.10.0-2.fc11.x86_64
> perl(warnings) is needed by R-core-2.10.0-2.fc11.x86_64
> rpmlib(FileDigests) <= 4.6.0-1 is needed by
> R-core-2.10.0-2.fc11.x86_64
> rtld(GNU_HASH) is needed by R-core-2.10.0-2.fc11.x86_64
> sed is needed by R-core-2.10.0-2.fc11.x86_64
> texlive-dvips is needed by R-core-2.10.0-2.fc11.x86_64
> texlive-latex is needed by R-core-2.10.0-2.fc11.x86_64
> vi is needed by R-core-2.10.0-2.fc11.x86_64
> xdg-utils is needed by R-core-2.10.0-2.fc11.x86_64
> -----------------------------------------
>
> Has anybody here encountered similar problem? How did you solve it?
>
>
> Thanks!
You appear to be using Fedora Core 11 (FC11) and based upon some of the missing dependencies, must have done a fairly minimal installation.
Three comments:
1. Fedora uses a package management system called 'yum', which is specifically designed to obviate the problems that you are experiencing. It has been years since one needed to download individual RPMs and install them using 'rpm' from the command line. Use:
yum install R
as 'root', either via 'su' or 'sudo', depending upon whether or not you have sudo configured. yum will automatically resolve any required dependencies during the installation process.
2. FC11 reached its End of Life (EOL) back in June. Thus, you are using an outdated version of Fedora, which no longer gets application, bug and security related patches and updates. It also means that you are trying to install an outdated version of R (2.10.0), as the current release is 2.11.1, which will not be available to FC11. You should move to FC13 as soon as possible. FC12 will go EOL by the end of the year, with FC14 due out early next month. If you are going to use Fedora, which is by design, a bleeding edge Linux distribution, you need to be prepared to update fairly frequently.
3. Given your e-mail name, pick up a current book on using and administering Fedora Core Linux.
HTH,
Marc Schwartz
More information about the R-help
mailing list