Is there any specific exit code to abort the RPM installation if any post script fails ?
Issue
- Is there any specific exit code to abort the
RPM
installation if anypost script
fails ? - If an rpm has few
%posttrans scriptlets
, in case during installation of rpm, if%posttrans scriptlet
fails, is it possible to roll back partially installed rpm i.e. the files deployed by the same, shall be deleted ?
Environment
- Red Hat Enterprise Linux (ALL)
- RPM
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.