deb-triggers(5) actions différées du paquet

SYNOPSIS

actions différées

DESCRIPTION

Un paquet déclare ses relations avec des actions différées en incluant un fichier triggers dans son archive de contrôle (c'est-à-dire DEBIAN/triggers au moment de la création du paquet).

Ce fichier contient des directives, une par ligne. Les mises en page et autres espaces ainsi que ce qui suit le caractère « # » sont sautés, et les lignes vides seront ignorées.

Les directives actuellement gérées sont :

interest nom-action-différée
interest-await nom-action-différée
interest-noawait nom-action-différée
Specifies that the package is interested in the named trigger. All triggers in which a package is interested must be listed using this directive in the triggers control file. The "noawait" variant does not put the triggering packages in triggers-awaited state. This should be used when the functionality provided by the trigger is not crucial.
activate nom-action-différée
activate-await nom-action-différée
activate-noawait nom-action-différée
Arranges that changes to this package's state will activate the specified trigger. The trigger will be activated at the start of the following operations: unpack, configure, remove (including for the benefit of a conflicting package), purge and deconfigure. The "noawait" variant does not put the triggering packages in triggers-awaited state. This should be used when the functionality provided by the trigger is not crucial.
Si ce paquet disparaît durant le dépaquetage d'un autre paquet, l'action différée sera activée lorsque la disparition est constatée vers la fin du dépaquetage. L'exécution d'une action différée, et donc le passage du statut triggers-awaited (action-différée-attendue) à installed (installé), ne provoquera pas l'activation. Dans le cas d'un dépaquetage, les actions différées listées dans l'ancienne et la nouvelle version du paquet seront activées.

Les directives inconnues sont des erreurs qui empêcheront l'installation du paquet.

The "-noawait" variants should always be favored when possible since triggering packages are not put in triggers-awaited state and can thus be immediately configured without requiring the processing of the trigger. If the triggering packages are dependencies of other upgraded packages, it will avoid an early trigger processing run and make it possible to run the trigger only once as one of the last steps of the upgrade.

The "-noawait" variants are only supported since dpkg 1.16.1, and will lead to errors if used with an older dpkg. It is thus recommended to add a "Pre-Depends: dpkg (>= 1.16.1)" to any package that wish to use those directives.

The "-await" alias variants are only supported since dpkg 1.17.21, and will lead to errors if used with an older dpkg. It is thus recommended to add a "Pre-Depends: dpkg (>= 1.17.21)" to any package that wish to use those directives.

TRADUCTION

Ariel VARDI <[email protected]>, 2002. Philippe Batailler, 2006. Nicolas François, 2006. Veuillez signaler toute erreur à <[email protected]>.