deb-postrm(5) dpkg suite deb-postrm(5)
NAME
deb-postrm - package post-removal maintainer script
SYNOPSIS
DEBIAN/postrm
DESCRIPTION
A package can perform several post-removal actions via maintainer scripts, by including an
executable postrm file in its control archive (i.e. DEBIAN/postrm 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 old-version new-version
If the above upgrade call fails.
The new-version is passed only since dpkg 1.18.5.
postrm disappear overwriter-package overwriter-version
After all of the packages files have been replaced.
new-postrm abort-install
If preinst fails during install.
new-postrm abort-install old-version new-version
If preinst fails during upgrade of removed package.
The new-version is passed only since dpkg 1.18.5.
new-postrm abort-upgrade old-version new-version
If preinst fails during upgrade.
The new-version is passed only since dpkg 1.18.5.
SEE ALSO
dpkg(1).
1.21.1 2025-09-09 deb-postrm(5)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2026-01-09 16:43 @216.73.216.127 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)