1deb-preinst(5) dpkg suite deb-preinst(5)
2
3
4
6 deb-preinst - package pre-installation maintainer script
7
9 preinst
10
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 removed package is upgraded.
23
24 new-preinst upgrade old-version new-version
25 Before the package is upgraded.
26
27 old-preinst abort-upgrade new-version
28 If postrm fails during upgrade or fails on failed upgrade.
29
31 dpkg(1).
32
33
34
351.18.25 2018-06-26 deb-preinst(5)