[Rpm-maint] RPM won't install unless I specify --noscripts

Edward Quick edwardquick at hotmail.com
Thu Dec 21 15:42:06 UTC 2006


>>Hi,
>>
>>I'm trying to install an RPM I've built on Redhat onto a Solaris 8
>>(Sparc) box, and the only way I can get it to install anything is if I
>>issue it with the --noscripts flag:
>>
>>rpm --nodeps --ignoreos --ignorearch --noscripts --install
>>apache-instance-ohdev04-1-1.i386.rpm
><snip>
>>rpm -qp --scripts  apache-instance-ohdev04-1-1.i386.rpm
>>preinstall script (through /bin/sh):
>>#
>># Add the "apache" user & group
>>#
>>/usr/sbin/groupadd ohadmin \
>>         2> /dev/null || :
>>/usr/sbin/useradd -c "File owner for oh" -g ohadmin ohadmin \
>>         2> /dev/null || :
>>/usr/sbin/groupadd ohapache \
>>         2> /dev/null || :
>>/usr/sbin/useradd -c "Apache for oh" -g ohapache ohapache \
>>         2> /dev/null || :
>>postinstall script (through /bin/sh):
>>/oh/apache/ohdev04/bin/.install/post-install
>>preuninstall script (through /bin/sh):
>>/oh/apache/ohdev04/bin/.install/pre-uninstall
>>
>
>What error message are you getting?  Note that the apache scripts you
>are calling have a return code and since its the last command to run
>in you %post and %preun scriptltes that is the return code rpm is
>going to get.
>
>Lastly, this is an RPM maintentenance list, that is its more of a
>development list, such that your post is off topic.    You want to
>send this sort of thing to rpm-list at redhat.com.
>
>Good luck...james
>>

Thanks James, I didn't get any errors messages, so I thought the rpm had 
installed, but regrettably it hadn't. I will post to the other list as you 
advise.

_________________________________________________________________
Think you're a film buff? Play the Movie Mogul quiz and win fantastic 
prizes!  http://www.msnmoviemogul.com




More information about the Rpm-maint mailing list