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

NAME

6       deb-prerm - package pre-removal maintainer script
7

SYNOPSIS

9       DEBIAN/prerm
10

DESCRIPTION

12       A package can perform several pre-removal actions via maintainer
13       scripts, by including an executable prerm file in its control archive
14       (i.e. DEBIAN/prerm during package creation).
15
16       The script can be called in the following ways:
17
18       prerm remove
19           Before the package is removed.
20
21       old-prerm upgrade new-version
22           Before an upgrade.
23
24       new-prerm failed-upgrade old-version new-version
25           If the above upgrade fails.
26
27       prerm deconfigure in-favour new-package new-version
28           [ removing old-package old-version ]
29           Before package is deconfigured while dependency is replaced due to
30           conflict.
31
32       prerm remove in-favour new-package new-version
33           Before the package is replaced due to conflict.
34

SEE ALSO

36       dpkg(1).
37
38
39
401.20.9                            2021-04-13                      deb-prerm(5)
Impressum