[packages/systemd] - add epoch to triggers (yes, both need it)
n3npq at me.com
Wed May 27 19:18:31 CEST 2015
On May 27, 2015, at 12:22 PM, Jan Rękorajski wrote:
>> what's the current state of multiple triggers per package combination?
>> are they both fired? in what order?
>> i recall, that in old times, it was just better to move triggers to one
>> trigger (one with biggest version combination) and write all trigger
>> bodies there, accounting that the trigger might have already been ran
> AFAIK rpm5 does not have this problem and multiple triggers work.
Yes. Order will be as encountered, which is likely the order of
install since the package b-tree retrieval keys are monotonically increasing
persistent integers (and across --rebuilddb unless /var/lib/rpm/Seqno
has been removed/recreated).
It's still better to consolidate triggers: the context in which triggers
are fired is highly non-trivial to ensure success with dependencies.
73 de Jeff
More information about the pld-devel-en