deb-postinst5
Package post-installation maintainer script
Usage
DEBIAN/postinst
Overview
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:
- postinst
configureold-version -
After the package was installed.
- postinst
triggered"trigger-name..." -
After the package was triggered. The list of space-separated trigger-names is passed as the second argument.
- old-postinst
abort-upgradenew-version -
If prerm fails during
upgradeor fails onfailed-upgrade.
- old-postinst
abort-remove -
If prerm fails during
remove.
- postinst
abort-deconfigurein-favournew-package new-version
- [
removingold-package old-version ] -
If prerm fails during deconfigure in-favour of a package.
- postinst
abort-removein-favournew-package new-version -
If prerm fails during remove in-favour for replacement due to conflict.
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.