deb-postinst - package post-installation maintainer script
A package can perform several post-installation actions via maintainer scripts,
by including an executable postinst
file in its control archive (i.e.
during package creation).
The script can be called in the following ways:
- postinst configure old-version
- After the package was installed.
- postinst triggered
- After the package was triggered.
- old-postinst abort-upgrade
- If prerm fails during upgrade or fails on failed
- old-postinst abort-remove
- If prerm fails during removal.
- postinst abort-deconfigure in-favour
[ removing old-package old-version ] If prerm fails
during deconfiguration of a package.
- postinst abort-remove in-favour
- If prerm fails during replacement due to