R-hdf5
Orion Poplawski
orion at cora.nwra.com
Thu Oct 29 19:24:23 UTC 2009
On 10/29/2009 12:46 PM, Aaron Knister wrote:
> I just installed R-hdf5 and received this error message from the postscript:
>
> /home/aaronk/rpmbuild/tmp/rpm-tmp.80148: line 1:
> /usr/lib64/R/doc/html/search/index.txt: No such file or directory
> error: %post(R-hdf5-1.6.6-1.el5.x86_64) scriptlet failed, exit status 1
>
>
> I also can't uninstall the rpm without using the --noscripts option
> because of the samepostscript error. The postscripts are listed below:
>
> [root at n1 ~]# rpm -q --scripts R-hdf5
> postinstall scriptlet (using /bin/sh):
> cat /usr/lib64/R/library/*/CONTENTS> /usr/lib64/R/doc/html/search/index.txt
> postuninstall scriptlet (using /bin/sh):
> cat /usr/lib64/R/library/*/CONTENTS> /usr/lib64/R/doc/html/search/index.txt
>
> It appears that /usr/lib64/R/doc doesn't exist- hence the errors.
>
> After looking at a few other R "plugins" I saw that they use
> /usr/lib/rpm/R-make-search-index.sh in the post scripts which seems to
> perform the same function as the current postscripts in R-hdf5 but
> among other things, uses existing paths.
Note that R modules use rpm macros for the post scripts that are
resolved at rpm build time:
%post
%{_R_make_search_index}
Looks like this changed at some point. May just be time to rebuild some
of the older R modules in EPEL. I'll take a look.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion at cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
More information about the epel-devel-list
mailing list