Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What are post-installation triggers? These are executed when upgrading software.

share|improve this question


A dpkg trigger is a facility that allows events caused by one package but of interest to another package to be recorded and aggregated, and processed later by the interested package. This feature simplifies various registration and system-update tasks and reduces duplication of processing.

A more detailed description of dpkg triggers is here:

share|improve this answer

Debian packages contain more than just files. Among other things, they often contain scripts that doesn't get installed, but are run before or after installing/uninstalling the files from a package. For example, the linux-kernel packages will run a script that adds the newly installed kernel to the bootloader menu after it has installed the actual files.

So when it says post-installation triggers, it is running such scripts.

share|improve this answer

Here is an in depth explanation of dpkg triggers and how they work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.