Comment # 2 on bug 1140563 from
(In reply to Steffen Winterfeldt from comment #1)
> The package at least needs to pass an error exit code to rpm in its scripts.
> 
> Then there's
> 
> %_fail_on_postinstall_errors  0
> 
> in /usr/lib/rpm/macros which zypp would have to take care of.

- Zypp calls rpm, so we fail if rpm returns !=0 (rpm had to handle it). 

- If the installation basically succeeded, but we detected failed %post scripts
in the rpm output, zypper returns:

       107 - ZYPPER_EXIT_INF_RPM_SCRIPT_FAILED
           Installation basically succeeded, but some of the
           packages %post install scripts returned an error.
           These packages were successfully unpacked to disk
           and are registered in the rpm database, but due
           to the failed install script they may not work as
           expected. The failed scripts output might reveal
           what actually went wrong. Any scripts output is
           also logged to /var/log/zypp/history.


You are receiving this mail because: