[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Semantic change for dpkg triggers?

On Fri, Jun 03, 2011 at 01:21:40PM -0400, Phillip Susi wrote:
> On 6/2/2011 8:33 AM, Ian Jackson wrote:
> >In general, the reason for this rule about satisfying dependencies is
> >that a triggering package may well not be functional at all until the
> >trigger is run.  For example, if the triggering package T needs to be
> >registered with the interested package I, a package D which depends on
> >T may find that T does not work - and D's postinst may fail due to T
> >being broken.

> If postinst depends on the package, then it should be a pre-depend,
> not a depend, shouldn't it?

Absolutely not.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: