deb-postinst - package post-installation maintainer script
Contents
Description
A package can perform several post-installation actions via maintainer scripts, by including an
executable postinst file in its control archive (i.e. DEBIAN/postinst during package creation).
The script can be called in the following ways:
postinstconfigureold-version
After the package was installed.
postinsttriggered "trigger-name..."
After the package was triggered. The list of space-separated trigger-names is passed as the second
argument.
old-postinstabort-upgradenew-version
If prerm fails during upgrade or fails on failed-upgrade.
old-postinstabort-remove
If prerm fails during remove.
postinstabort-deconfigurein-favournew-packagenew-version
[ removingold-packageold-version ]
If prerm fails during deconfigurein-favour of a package.
postinstabort-removein-favournew-packagenew-version
If prerm fails during removein-favour for replacement due to conflict.
Name
deb-postinst - package post-installation maintainer script
See Also
dpkg(1).
1.22.21 2025-07-14 deb-postinst(5)
Synopsis
DEBIAN/postinst
