On 10/07/2019 05:52, Maheshwari, Shagun wrote:

Hi,

 

On CentOS 6, when we try to install any rpm it fails with scriplet failed with exit status 1 but return status of rpm is also 1 which is correct.

Example:

But On CentOS 7, we are not getting return status of rpm as 1 it is coming 0, which is installing the RPM.


Since CentOS is a rebuild of the sources used to create RHEL, you will need to report this on bugzilla.redhat.com to stand a chance of getting it changed. If Redhat accept the change and publish the fix then it will be picked up and rebuilt for CentOS once it is released.

Trevor