Red Hat Bugzilla – Bug 118780
Requires(pre,postun) is ignored for installed packages
Last modified: 2007-11-30 17:10:38 EST
Installed is a package which "Requires(pre,postun): foo".
$ rpm -qR test | grep foo
$ 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
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)
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.
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 ***