DpkgTriggers

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Summary

A dpkg trigger is a facility that allows events caused by one package but of interest to another package to be recorded and aggregated, and processed later by the interested package. This feature simplifies various registration and system-update tasks and reduces duplication of processing.

Detailed design with worked deployment examples

The dpkg triggers feature was extensively discussed on debian-dpkg, and the final version of the specification can be found here:

UI Changes

The implementation and use of triggers is not intended to affect the user interface. There are some new error states involved but these will typically occur in the same kind of situations as existing package failures (eg, maintainer script failures).

Release Note

  • A feature ("triggers") was implemented in dpkg to allow packages to cut down on duplicated processing during installations and upgrades, and some packages updated to use the new facility.

Test/Demo Plan

Check that initramfs generation happens exactly once during the execution of

sudo dpkg -i udev.deb initramfs-tools.deb

Documentation


CategorySpec

DpkgTriggers (last edited 2009-11-05 15:00:41 by c-76-105-168-175)