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

NAME

6       deb-preinst - package pre-installation maintainer script
7

SYNOPSIS

9       DEBIAN/preinst
10

DESCRIPTION

12       A package can perform several pre-installation actions via maintainer
13       scripts, by including an executable preinst file in its control archive
14       (i.e. DEBIAN/preinst during package creation).
15
16       The script can be called in the following ways:
17
18       new-preinst install
19           Before the package is installed.
20
21       new-preinst install old-version new-version
22           Before a removed package is upgraded.
23
24           The new-version is passed only since dpkg 1.18.5.
25
26       new-preinst upgrade old-version new-version
27           Before the package is upgraded.
28
29           The new-version is passed only since dpkg 1.18.5.
30
31       old-preinst abort-upgrade new-version
32           If postrm fails during upgrade or fails on failed upgrade.
33

SEE ALSO

35       dpkg(1).
36
37
38
391.21.9                            2022-07-01                    deb-preinst(5)
Impressum