1deb-postrm(5)                     dpkg suite                     deb-postrm(5)
2
3
4

NAME

6       deb-postrm - package post-removal maintainer script
7

SYNOPSIS

9       DEBIAN/postrm
10

DESCRIPTION

12       A package can perform several post-removal actions via maintainer
13       scripts, by including an executable postrm file in its control archive
14       (i.e. DEBIAN/postrm during package creation).
15
16       The script can be called in the following ways:
17
18       postrm remove
19           After the package was removed.
20
21       postrm purge
22           After the package was purged.
23
24       old-postrm upgrade new-version
25           After the package was upgraded.
26
27       new-postrm failed-upgrade old-version new-version
28           If the above upgrade call fails.
29
30       postrm disappear overwriter-package overwriter-version
31           After all of the packages files have been replaced.
32
33       new-postrm abort-install
34           If preinst fails during install.
35
36       new-postrm abort-install old-version new-version
37           If preinst fails during upgrade of removed package.
38
39       new-postrm abort-upgrade old-version new-version
40           If preinst fails during upgrade.
41

SEE ALSO

43       dpkg(1).
44
45
46
471.20.9                            2021-04-13                     deb-postrm(5)
Impressum