1dpkg-trigger(1) dpkg suite dpkg-trigger(1)
2
3
4
6 dpkg-trigger - a package trigger utility
7
9 dpkg-trigger [option...] trigger-name
10 dpkg-trigger [option...] command
11
13 dpkg-trigger is a tool to explicitely activate triggers and check for
14 its support on the running dpkg.
15
16 This can be used by maintainer scripts in complex and conditional situ‐
17 ations where the file triggers, or the declarative activate triggers
18 control file directive, are insufficiently rich. It can also be used
19 for testing and by system administrators (but note that the triggers
20 won't actually be run by dpkg-trigger).
21
22 Unrecognised trigger name syntaxes are an error for dpkg-trigger.
23
25 --check-supported
26 Check if the running dpkg supports triggers (usually called from
27 a postinst). Will exit 0 if a triggers-capable dpkg has run, or
28 1 with an error message to stderr if not. Normally, however, it
29 is better just to activate the desired trigger with dpkg-trig‐
30 ger.
31
32 -h, --help
33 Show the usage message and exit.
34
35 --version
36 Show the version and exit.
37
38 --license, --licence
39 Show the copyright licensing terms and exit.
40
42 --admindir=dir
43 Change the location of the dpkg database. The default location
44 is /var/lib/dpkg.
45
46 --by-package=package
47 Override trigger awaiter (normally set by dpkg through the
48 DPKG_MAINTSCRIPT_PACKAGE environment variable of the maintainer
49 scripts, naming the package to which the script belongs, and
50 this will be used by default).
51
52 --no-await
53 This option arranges that the calling package T (if any) need
54 not await the processing of this trigger; the interested pack‐
55 age(s) I, will not be added to T's trigger processing awaited
56 list and T's status is unchanged. T may be considered installed
57 even though I may not yet have processed the trigger.
58
59 --no-act
60 Just test, do not actually change anything.
61
63 dpkg(1), deb-triggers(5), /usr/share/doc/dpkg/triggers.txt.gz.
64
65
66
67
68Debian Project 2009-03-15 dpkg-trigger(1)