RPM Rollback - which hooks are activated

Adi Levy alevy at salesforce.com
Wed Feb 6 10:52:20 UTC 2013


Hello,

I'm writing upgrade/rollback mechanism for our software.
I read several articles about what's being run during upgrade, and how to repackage the old rpm.

What happens during - -rollback of the package I have just installed?

 *   Does the %pre %post of the old package activated?
 *   Does %preun %postun of new current package run?
 *   What happens if I use the auto rollback feature upon error? Is it safe to use?


Regards,
Adi Levy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20130206/b5a3832d/attachment.html>


More information about the Rpm-list mailing list