| 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:
- postrmremove
- After the package was removed.
- postrmpurge
- After the package was purged.
- old-postrmupgrade new-version
- After the package was upgraded.
- new-postrmfailed-upgrade old-version new-version
- If the above upgrade call fails.
The new-version is passed only since dpkg 1.18.5.
- postrmdisappear overwriter-packageoverwriter-version
- After all of the packages files have been replaced.
- new-postrmabort-install
- If preinst fails during install.
- new-postrmabort-install old-version new-version
- If preinst fails during install for an upgrade of a removed package.
The new-version is passed only since dpkg 1.18.5.
- new-postrmabort-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).
| 2023-05-11 | 1.21.22 |