Search code examples
linuxcentosyumrhel

Ensure yum install fails if post install script fails


When trying to install a yum package, I'm getting:

Non-fatal POSTIN scriptlet failure in rpm package

But the yum install is completing successfully, so it's tough to know when it failed or not.

Anyway to fail when yum encounters this?


Solution