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@xxxxxxxxx> wrote:
On 4 April 2016 at 19:48, doc <drplastic99@xxxxxxxxx> 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 ?
>
> %pretrans
> [ -n "$VERBOSE" ] && set -x ; :
>
> %post
So rpm is too old for pretrans requires...
Anyway, this %pretrans is useless: the set -x won't affect anything else
Just drop it.
> 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 ?
>
> %pretrans
> [ -n "$VERBOSE" ] && set -x ; :
>
> %post
So rpm is too old for pretrans requires...
Anyway, this %pretrans is useless: the set -x won't affect anything else
Just drop it.
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list