Installed is a package which "Requires(pre,postun): foo". $ rpm -qR test | grep foo foo However: $ rpm -q --whatrequires foo no package requires foo And I can "rpm -e foo" and the %postun scriptlet in the installed package fails. Like in Enrico's bug 118773 report, splitting the requirements to Requires(pre): foo Requires(post): foo fixes this, and "foo" shows up in upon "--whatrequires foo" query, too. Version-Release number of selected component (if applicable): rpm-4.3-0.21 (and rpm-4.2.1-0.30) How reproducible: Always Additional info: I'm prepared to hear this is a feature, not a bug. ;)
Ok, it's a "feature" not a bug. You have known and adequate workaround. I suggest you use that.
*** Bug 118773 has been marked as a duplicate of this bug. ***
This is not a feature. It is a bug. RPM documentation clearly states that the syntax: Requires(foo,bar) is valid. Fix rpm.
*boink*
??
See bug #155700 which I'll close as a dupe of this for details of issue. I've tested a fix - basically a test that is incorrect in (pre,postun) cases and I'll get a testing package out next week.
Sorry easier closing this way around - as other bug is on blockers. *** This bug has been marked as a duplicate of 155700 ***