deb-postrm - package post-removal maintainer script
A package can perform several post-removal actions via maintainer scripts, by
including an executable postrm
file in its control archive (i.e.
during package creation).
The script can be called in the following ways:
- postrm remove
- After the package was removed.
- postrm purge
- After the package was purged.
- old-postrm upgrade new-version
- After the package was upgraded.
- new-postrm failed-upgrade
- If the above upgrade call fails.
- postrm disappear overwriter-package
- After all of the packages files have been replaced.
- new-postrm abort-install
- If preinst fails during install.
- new-postrm abort-install old-version
- If preinst fails during upgrade of removed
- new-postrm abort-upgrade old-version
- If preinst fails during upgrade.