v7 man page for deb-prerm

Query: deb-prerm

OS: v7

Section: 5

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

deb-prerm(5)							    dpkg suite							      deb-prerm(5)

NAME
deb-prerm - package pre-removal maintainer script SYNOPSIS
prerm DESCRIPTION
A package can perform several pre-removal actions via maintainer scripts, by including an executable prerm file in its control archive (i.e. DEBIAN/prerm during package creation). The script can be called in the following ways: prerm remove Before the package is removed. old-prerm upgrade new-version Before an upgrade. new-prerm failed-upgrade old-version new-version If the above upgrade fails. prerm deconfigure in-favour new-package new-version [ removing old-package old-version ] Before package is deconfigured while dependency is replaced due to conflict. prerm remove in-favour new-package new-version Before the package is replaced due to conflict. SEE ALSO
dpkg(1). 1.19.0.5 2018-04-16 deb-prerm(5)
Related Man Pages
dh_installinit(1) - linux
dh_installinit(1) - centos
dh_systemd_start(1) - plan9
dh_systemd_start(1) - freebsd
dh_systemd_start(1) - v7
Similar Topics in the Unix Linux Community
crontab every 5 min.
[Tip] HACMP 7.1.3 and DB/2-Installation
Read a file and save every word in a variable to use
Linux froze and got back working 5 days later, no reboot.
Bash - here document on RHEL 6.8 and 6.9 servers aren't working