Query: deb-postrm
OS: redhat
Section: 5
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
deb-postrm(5) dpkg suite deb-postrm(5) NAME
deb-postrm - package post-removal maintainer script SYNOPSIS
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. 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. new-postrm abort-upgrade old-version new-version If preinst fails during upgrade. SEE ALSO
dpkg(1). 1.19.0.5 2018-04-16 deb-postrm(5)
| Related Man Pages | 
|---|
| dpkg-maintscript-helper(1) - linux | 
| dpkg-maintscript-helper(1) - centos | 
| dpkg-maintscript-helper(1) - netbsd | 
| dpkg-maintscript-helper(1) - plan9 | 
| dh_installmodules(1) - v7 | 
| Similar Topics in the Unix Linux Community | 
|---|
| Retrieving previous command in a script | 
| CentOS7 restoring file capabilities | 
| Issue with "rsh" on RedHat | 
| About TODO | 
| Shopt -s histappend |