Mailinglist Archive: opensuse-bugs (4510 mails)

< Previous Next >
[Bug 966057] RPM packages don't regenerate initrd on removal
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 15 Feb 2016 13:12:08 +0000
  • Message-id: <>

--- Comment #1 from Michael Andres <ma@xxxxxxxx> ---
Unfortunately rpm has nothing like a %postuntrans script, so there's no 'final'
trigger for deleted packages after the %postun.

What you can try is to execute the action immediately, if '%postun 0' (on final
delete) was called (and no trigger has been placed by now). If the 1st arg is
not 0 (upgrade), the newly installed packages %posttrans will do the job.

Not perfect, but maybe better than nothing.

You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >