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

Re: The trigger in your Debian packages



Raphael Hertzog <hertzog@debian.org> 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?

I answering for tex-common, not the other packages maintained by this
group.  

Packages that activate tex-common's triggers will definitely not be able
to be used unless the triggers have been run.  For a package that
provides fonts this might mean that running a file through latex that
uses these fonts will fail - that is an improbable scenario during a
dpkg run.  However, if the dpkg run stops for some reason without the
triggers having been run, the triggering package must not be marked as
installed. 

It might in special cases also mean that some special format creation
depending on e.g. hyphenation patterns fails, and this is something that
would be done in postinst, thus causing a dpkg failure.  It is actually
hard, however, to construct a case where this would be true (at least
for me at the moment, being thirsty and tired...)

Regards, Frank
-- 
Frank Küster
Sprecher B90/Grüne OV Miltenberg und Umgebung
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
Debian Developer (TeXLive)


Reply to: