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

Re: The trigger in your Debian packages



On Fri, Jun 03, 2011 at 10:24:23AM +0200, Raphael Hertzog wrote:
> 1/ If your package uses the "interest" directive in the triggers files,
> is it important that the "triggering" packages that activate your triggers
> be considered as not configured (and thus not satisfying dependencies)
> until the trigger has been processed?

man-db wants to know about changes in manual page directories so that it
can update its database (for whatis and apropos), but this does not need
to cause triggering packages to be considered unconfigured.  (You've
listed this as "no" already, which is accurate - I just wanted to
explicitly confirm that.)

lintian uses a trigger to register interest in changes to
/usr/share/locale/locale.alias and /usr/lib/locales-all (shipped by
locales and locales-all respectively) so that it can update its private
en_US.UTF-8 locale files.  If the locale format changes, as does happen
occasionally, then lintian may malfunction until its trigger is
processed.  I think that's dealt with well enough by lintian being in
triggers-pending state, though; I see no reason for locales and
locales-all to be considered unconfigured in the meantime.

-- 
Colin Watson                                       [cjwatson@debian.org]


Reply to: