What is the difference between "await" and "noawait" dpkg triggers? How do they behave differently?
I've read all of the following resources in their entirety and I still can't work out what the difference between the trigger types is:
- https://manpages.debian.org/bookworm/dpkg-dev/deb-triggers.5.en.html
- https://stackoverflow.com/questions/15276535/dpkg-how-to-use-trigger
- https://web.archive.org/web/20111022012105/http://www.seanius.net/blog/2009/09/dpkg-triggers-howto/
- https://git.dpkg.org/cgit/dpkg/dpkg.git/tree/doc/spec/triggers.txt
The most I can gather is that for "await" type triggers the "calling package awaits the processing of this trigger", but I'm not able to determine what that means in terms of the precise timing of all the actions that occur.
In particular, I'm trying to figure out when the interested package's
postinst triggered
is executed relative to the triggering package's postinst configure
in "await" vs "noawait" triggers, but I'm also interested in any other differences between these two trigger methods.
Asked by Jason C
(1585 rep)
Apr 25, 2025, 03:45 PM
Last activity: Apr 25, 2025, 04:08 PM
Last activity: Apr 25, 2025, 04:08 PM