[Rpm-maint] Re: %post-script prerequisites
ffesti at redhat.com
Thu Sep 25 13:41:14 UTC 2008
Michael Schroeder wrote:
> On Thu, Sep 25, 2008 at 02:37:27PM +0200, Pixel wrote:
>> Michael Schroeder <mls at suse.de> writes:
>>> So A requires B and B has a requires(post) to A? This isn't installable
>>> at all, thus it's a packaging bug.
>> i don't agree.
>> not knowing exactly what rpmlib does, here is how i understand the pb:
>> "Requires" is same as "Requires(postrans)", ie if A requires B, it
>> doesn't mean B must be installed before A.
> It means that B must be installed before A *works* (easiest
> case: B is a library).
> Thus, if C has a "Requires(post): A" (e.g. C calls A in a post
> scriptlet), A must work, so B and A have to be installed before C.
Which brings us into the world of dependency loops and especially of
dependency loops containing Requires(pre).
Happy night mares
More information about the Rpm-maint