Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

3 Answers 3

From wiki.ubuntu.com/DpkgTriggers:

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: http://lists.debian.org/debian-dpkg/2007/04/msg00076.html

share|improve this answer
add comment

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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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