{
    "mode": "info",
    "parameter": "deb-triggers",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/deb-triggers/json",
    "generated": "2026-07-06T03:05:56Z",
    "synopsis": "debian/triggers, debian/binary-package.triggers, DEBIAN/triggers",
    "sections": {
        "NAME": {
            "content": "deb-triggers - package triggers\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "debian/triggers, debian/binary-package.triggers, DEBIAN/triggers\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "A package declares its relationship to some trigger(s) by including a\ntriggers file in its control archive (i.e. DEBIAN/triggers during\npackage creation).\n\nThis file contains directives, one per line. Leading and trailing\nwhitespace and everything after the first # on any line will be\ntrimmed, and empty lines will be ignored.\n\nThe trigger control directives currently supported are:\n\ninterest trigger-name\ninterest-await trigger-name\ninterest-noawait trigger-name\nSpecifies that the package is interested in the named trigger. All\ntriggers in which a package is interested must be listed using this\ndirective in the triggers control file.\n\nThe \"await\" variants put the triggering package in triggers-awaited\nstate depending on how the trigger was activated.  The \"noawait\"\nvariant does not put the triggering packages in triggers-awaited\nstate, even if the triggering package declared an \"await\"\nactivation (either with an activate-await or activate directive, or\nby using the dpkg-trigger --no-await command-line option).  The\n\"noawait\" variant should be used when the functionality provided by\nthe trigger is not crucial.\n\nactivate trigger-name\nactivate-await trigger-name\nactivate-noawait trigger-name\nArranges that changes to this package's state will activate the\nspecified trigger. The trigger will be activated at the start of\nthe following operations: unpack, configure, remove (including for\nthe benefit of a conflicting package), purge and deconfigure.\n\nThe \"await\" variants only put the triggering package in triggers-\nawaited state if the interest directive is also \"await\".  The\n\"noawait\" variant never puts the triggering packages in triggers-\nawaited state.  The \"noawait\" variant should be used when the\nfunctionality provided by the trigger is not crucial.\n\nIf this package disappears during the unpacking of another package\nthe trigger will be activated when the disappearance is noted\ntowards the end of the unpack. Trigger processing, and transition\nfrom triggers-awaited to installed, does not cause activations.  In\nthe case of unpack, triggers mentioned in both the old and new\nversions of the package will be activated.\n\nUnknown directives are an error which will prevent installation of the\npackage.\n\nThe \"-noawait\" variants should always be favored when possible since\ntriggering packages are not put in triggers-awaited state and can thus\nbe immediately configured without requiring the processing of the\ntrigger.  If the triggering packages are dependencies of other upgraded\npackages, it will avoid an early trigger processing run and make it\npossible to run the trigger only once as one of the last steps of the\nupgrade.\n\nThe \"-noawait\" variants are supported since dpkg 1.16.1, and will lead\nto errors if used with an older dpkg.\n\nThe \"-await\" alias variants are supported since dpkg 1.17.21, and will\nlead to errors if used with an older dpkg.\n\nWhen a package provides an interest-noawait directive, any activation\nwill set the triggering package into \"noawait\" mode, regardless of the\nawaiting mode requested by the activation (either \"await\" or\n\"noawait\").  When a package provides an interest or interest-await\ndirective, any activation will set the triggering package into \"await\"\nor \"noawait\" depending on how it was activated.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "dpkg-trigger(1), dpkg(1), /usr/share/doc/dpkg/triggers.txt.gz.\n\n1.21.1                            2025-09-09                   deb-triggers(5)",
            "subsections": []
        }
    },
    "summary": "deb-triggers - package triggers",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "dpkg-trigger",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/dpkg-trigger/1/json"
        },
        {
            "name": "dpkg",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/dpkg/1/json"
        }
    ]
}