Is there a way to turn off %pretrans?
drplastic99 at yahoo.com
Tue Apr 5 02:55:01 UTC 2016
Thank you. Unfortunately, the package has already been created. Is there anyway to turn off %pretrans from being executed in an already built package?
On Monday, April 4, 2016 5:45 PM, Thierry Vignaud <thierry.vignaud at gmail.com> wrote:
On 4 April 2016 at 19:48, doc <drplastic99 at yahoo.com> wrote:
> The %pretrans: is a leftover from when others were creating the package.
> It was never an issue until KS.
> - What version of RHEL is used?
> CentOS 6.7
> - What's the actual failure?
> The failure appears to be that on a bare metal machine, KS runs the
> pretrans before /bin/sh is installed. Are the dependencies checked for
> before or after the %pretrans is executed?
> - What's the actual error message?
> error: %pretrans(noop-0.0.1.GA-1.x86_64) scriptlet failed,
> exit status 127
> - Is that the whole %pretrans ?
> [ -n "$VERBOSE" ] && set -x ; :
So rpm is too old for pretrans requires...
Anyway, this %pretrans is useless: the set -x won't affect anything else
Just drop it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-list