Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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.18.24				  2017-05-17			  deb-prerm(5)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=deb-prerm&sektion=5&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help