Re: Bug#582109: debian-policy: document triggers where appropriate
Le Tue, May 18, 2010 at 02:50:02PM +0200, Raphaël Hertzog a écrit :
> The policy needs to be updated to take into account the dpkg triggers. At
> the very least it needs to document the new invocations of the postinst in
> chapter 6 (postinst triggered ...) see
I am having a look at how to document triggers. In order to simplify the
explanation and re-use more easily material from the file above, I think
that we would benefit from documenting the dpkg states for a package.
The manual page of dpkg-query indicates:
The documentation in /usr/share/doc/dpkg-dev/triggers.txt.gz also
mentions config-failed. I will look for a comprehensive list but
if you already have the answer one please let me know.
I wonder where to add this information: either in chapter 3 (binary packages)
or chapter 6 (Package maintainer scripts and installation procedure).
What do you think ?
Have a nice Sunday,
Tsurumi, Kanagawa, Japan