RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Conflicts on files not symmetric

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 19 Sep 2008 - 18:40:55 CEST
Message-id: <A6D259DE-32DA-4FE6-94B6-ECE0BECED196@mac.com>

On Sep 19, 2008, at 12:35 PM, Michael Schroeder wrote:

> On Fri, Sep 19, 2008 at 04:21:50PM +0000, Alexey Tourbin wrote:
>> Technically there's no piping, only a file duplicated on stdin.  And
>> "filetriggers" are run only once, at the end of transaction (they're
>> actually "posttrans filetriggers"), which saves consecutive ldconfig,
>> gtk-update-icon-cache, or whatever calls.
> Uh, but can that work? A Prereq to another package basically says
> that the package must be fully configured before installation,
> so all triggers must be run. Post-transaction is a bit late...

There's need for a IMMEDIATE as well as a ONETIME (as in delayed)  
trigger attribute.

The ONETIME mechanism can be handled by appending to existing
%posttrans, the IMMEDIATE attribute is essentially the existing trigger

73 de Jeff
Received on Fri Sep 19 18:41:07 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.