RPM Rollback - which hooks are activated

Adi Levy alevy at salesforce.com
Wed Feb 6 10:43:16 UTC 2013


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?

Adi Levy

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

More information about the Rpm-list mailing list