January 5, 2007
When the scriptlet fails rpmlib doesn’t report back any errors to the transaction callback. Therefore there isn’t any way for yum to know that there was an error.
yum builds the transaction
yum runs the transaction and checks the return from that function to see if there were errors.
rpm reports no errors so yum moves along to completion.
It’s one of the things I would like to see fixed in rpms-to-come.