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
RPMinstallation if anypost scriptfails ? - If an rpm has few
%posttrans scriptlets, in case during installation of rpm, if%posttrans scriptletfails, 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
