Hi, I am trying to update my version of R on Centos 4. $uname -a Linux 2.6.9-78.0.5.ELsmp #1 SMP Wed Oct 8 07:06:30 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux I tried to update the current version of R (2.6.2) which was installed locally as an rpm $R --version R version 2.6.2 (2008-02-08) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 I used yum to try to do the update with the following error $su -c "yum localupdate /data/R-2.8.0-1.rh4.x86_64.rpm" Error: Missing Dependency: xdg-utils is needed by package R I have installed the xdg-utils manually from http://portland.freedesktop.org/download/xdg-utils-1.0.2.tgz $cd /data/xdg-utils-1.0.2 --> this is a directory $./configure --prefix=/usr $su -c " make install" $cd /usr/bin $ ls -al | grep xdg --> shows the xdg utilities -rwxr-xr-x 1 root root 14806 Nov 18 10:43 xdg-desktop-icon -rwxr-xr-x 1 root root 39267 Nov 18 10:43 xdg-desktop-menu -rwxr-xr-x 1 root root 16177 Nov 18 10:43 xdg-email -rwxr-xr-x 1 root root 24129 Nov 18 10:43 xdg-icon-resource -rwxr-xr-x 1 root root 28015 Nov 18 10:43 xdg-mime -rwxr-xr-x 1 root root 10131 Nov 18 10:43 xdg-open -rwxr-xr-x 1 root root 19303 Nov 18 10:43 xdg-screensaver So the xdg-utils are installed but yum or the R rpm are not recognizing them? How do I solve this problem? Thanks Peter
Gustavo Carvalho
2008-Nov-18 16:31 UTC
[R] Problem with the Linux R 2.8.0 rpm for 64 bit REL 4
xdg utils is probably not being recognized because you compiled it from source. The R rpm is looking for the xdg utils package. I'm not familiar with yum, but I think you can try to force the installation: rpm -ivh --force (or something like that) /data/R-2.8.0-1.rh4.x86_64.rpm On Tue, Nov 18, 2008 at 2:21 PM, Peter Tait <petertait at sympatico.ca> wrote:> Hi, > > I am trying to update my version of R on Centos 4. > > $uname -a > > Linux 2.6.9-78.0.5.ELsmp #1 SMP Wed Oct 8 07:06:30 EDT 2008 x86_64 x86_64 > x86_64 GNU/Linux > > I tried to update the current version of R (2.6.2) which was installed > locally as an rpm > $R --version > R version 2.6.2 (2008-02-08) > Copyright (C) 2008 The R Foundation for Statistical Computing > ISBN 3-900051-07-0 > > I used yum to try to do the update with the following error > > $su -c "yum localupdate /data/R-2.8.0-1.rh4.x86_64.rpm" > Error: Missing Dependency: xdg-utils is needed by package R > > I have installed the xdg-utils manually from > http://portland.freedesktop.org/download/xdg-utils-1.0.2.tgz > > $cd /data/xdg-utils-1.0.2 --> this is a directory > $./configure --prefix=/usr > $su -c " make install" > $cd /usr/bin > $ ls -al | grep xdg --> shows the xdg utilities > -rwxr-xr-x 1 root root 14806 Nov 18 10:43 xdg-desktop-icon > -rwxr-xr-x 1 root root 39267 Nov 18 10:43 xdg-desktop-menu > -rwxr-xr-x 1 root root 16177 Nov 18 10:43 xdg-email > -rwxr-xr-x 1 root root 24129 Nov 18 10:43 xdg-icon-resource > -rwxr-xr-x 1 root root 28015 Nov 18 10:43 xdg-mime > -rwxr-xr-x 1 root root 10131 Nov 18 10:43 xdg-open > -rwxr-xr-x 1 root root 19303 Nov 18 10:43 xdg-screensaver > > So the xdg-utils are installed but yum or the R rpm are not recognizing > them? How do I solve this problem? > > Thanks > Peter > > ______________________________________________ > 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. >