RPM Community Forums

Mailing List Message of <rpm-devel>

Re: %post-script prerequisites

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 25 Sep 2008 - 16:04:51 CEST
Message-id: <30C211CE-16DD-4B53-8438-C996CD8C5F94@mac.com>

On Sep 25, 2008, at 9:22 AM, Michael Schroeder wrote:

> On Thu, Sep 25, 2008 at 03:12:15PM +0400, Dmitry V. Levin wrote:
>> On Thu, Sep 25, 2008 at 11:08:31AM +0200, Michael Schroeder wrote:
>> [...]
>>> So A requires B and B as a requires(post) to A? This isn't  
>>> installable
>>> at all, thus it's a packaging bug.
>> Sorry, you cannot avoid the problem of resolving dependency loops
>> by just saying that dependency loops are evil, packaging bug, etc.
> I didn't say that. I said that dependency loops that include
> prereqs are evil. Please show me one example where they are needed.

We agree that dependency loops that include prereqs are evil.

But the final exam question, reduced to multiple choice, is

Q: A "prereq" in a dependency loop is which of the following?
    2) marked with RPMSENSE_PREREQ
    2.7) expressed as "Requires(pre)"
    2.71) an edge in a package dependency graph
    2.718) a detail that doesn't matter, rpmlib will get it right.
    2.7182) a Gucci purse and an Armani suit
    2.71828) all or none of the above
    2.718281) some of the above
    2.7182818) blasphemy

Prerequisites make my head hurt, let's go shopping!

73 de Jeff
Received on Thu Sep 25 16:05:30 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.