RPM Rollback - which hooks are activated

Thierry Vignaud thierry.vignaud at gmail.com
Sat Feb 9 10:41:06 UTC 2013


On 6 February 2013 11:52, Adi Levy <alevy at salesforce.com> wrote:
>
> 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?

Sorry but support for repackage and rollback have been removed in rpm-4.6.0
four years ago...


More information about the Rpm-list mailing list