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.
Launchpad Entry: dpkg-triggers
Packages affected: dpkg, many
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:
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).
- 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.
Check that initramfs generation happens exactly once during the execution of
sudo dpkg -i udev.deb initramfs-tools.deb