Linux 2.6 - man page for dpkg-trigger (linux section 1)
|Linux & Unix Commands - Search Man Pages
dpkg-trigger(1) dpkg suite dpkg-trigger(1)
dpkg-trigger - a package trigger utility
dpkg-trigger [option...] trigger-name
dpkg-trigger [option...] command
dpkg-trigger is a tool to explicitly activate triggers and check for its support on the
This can be used by maintainer scripts in complex and conditional situations where the
file triggers, or the declarative activate triggers control file directive, are insuffi-
ciently rich. It can also be used for testing and by system administrators (but note that
the triggers won't actually be run by dpkg-trigger).
Unrecognised trigger name syntaxes are an error for dpkg-trigger.
Check if the running dpkg supports triggers (usually called from a postinst). Will
exit 0 if a triggers-capable dpkg has run, or 1 with an error message to stderr if
not. Normally, however, it is better just to activate the desired trigger with
Show the usage message and exit.
Show the version and exit.
Change the location of the dpkg database. The default location is /var/lib/dpkg.
Override trigger awaiter (normally set by dpkg through the DPKG_MAINTSCRIPT_PACKAGE
environment variable of the maintainer scripts, naming the package to which the
script belongs, and this will be used by default).
This option arranges that the calling package T (if any) need not await the pro-
cessing of this trigger; the interested package(s) I, will not be added to T's
trigger processing awaited list and T's status is unchanged. T may be considered
installed even though I may not yet have processed the trigger.
Just test, do not actually change anything.
If set and the --admindir option has not been specified, it will be used as the
dpkg data directory.
dpkg(1), deb-triggers(5), /usr/share/doc/dpkg-dev/triggers.txt.gz.
Debian Project 2009-03-15 dpkg-trigger(1)
All times are GMT -4. The time now is 06:56 AM.