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           The new-version is passed only since dpkg 1.18.5.
31
32       postrm disappear overwriter-package overwriter-version
33           After all of the packages files have been replaced.
34
35       new-postrm abort-install
36           If preinst fails during install.
37
38       new-postrm abort-install old-version new-version
39           If preinst fails during install for an upgrade of a removed
40           package.
41
42           The new-version is passed only since dpkg 1.18.5.
43
44       new-postrm abort-upgrade old-version new-version
45           If preinst fails during upgrade.
46
47           The new-version is passed only since dpkg 1.18.5.
48

SEE ALSO

50       dpkg(1).
51
52
53
541.21.8                            2022-05-25                     deb-postrm(5)
Impressum