1deb-postinst(5) dpkg suite deb-postinst(5)
2
3
4
6 deb-postinst - package post-installation maintainer script
7
9 DEBIAN/postinst
10
12 A package can perform several post-installation actions via maintainer
13 scripts, by including an executable postinst file in its control
14 archive (i.e. DEBIAN/postinst during package creation).
15
16 The script can be called in the following ways:
17
18 postinst configure old-version
19 After the package was installed.
20
21 postinst triggered "trigger-name..."
22 After the package was triggered. The list of space-separated
23 trigger-names is passed as the second argument.
24
25 old-postinst abort-upgrade new-version
26 If prerm fails during upgrade or fails on failed-upgrade.
27
28 old-postinst abort-remove
29 If prerm fails during remove.
30
31 postinst abort-deconfigure in-favour new-package new-version
32 [ removing old-package old-version ]
33 If prerm fails during deconfigure in-favour of a package.
34
35 postinst abort-remove in-favour new-package new-version
36 If prerm fails during remove in-favour for replacement due to
37 conflict.
38
40 dpkg(1).
41
42
43
441.21.9 2022-07-01 deb-postinst(5)