Re: Is there a way to turn off %pretrans?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux