[Rpm-maint] [PATCH] allow having "identical" trans file triggers

Thierry Vignaud thierry.vignaud at gmail.com
Fri Aug 28 12:44:52 UTC 2015


This patch allows to have having "identical" trans file triggers

Without it, rpm exits on a assert() if two file triggers traps on the same path:
D: %triggerin(null-1:11-11.mga6.x86_64): waitpid(19591) rc 19591 status 0
rpm: backend/dbiset.c:62: dbiIndexSetUniq: Assertion `set->count > 0' failed.

What's more it leaves rpmdb in a bad state...

Last but not least, commit 3ae1c414f69a0eddbfecd4341dd27c7a5e90e12a
explicitly enables us to build a package with several "identical" file triggers,
so why abort when different packages provide file triggers on the same path?

See you
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-allow-having-identical-trans-file-triggers.patch
Type: application/octet-stream
Size: 1386 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20150828/cde7c681/attachment.obj>

More information about the Rpm-maint mailing list