"Fossies" - the Fresh Open Source Software Archive

Member "dpkg-1.19.7/man/deb-postrm.man" (19 Apr 2019, 1960 Bytes) of package /linux/misc/dpkg_1.19.7.tar.xz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even errorneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

deb−postrm

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

NAME

deb−postrm − package post-removal maintainer script

SYNOPSIS

postrm

DESCRIPTION

A package can perform several post-removal actions via maintainer scripts, by including an executable postrm file in its control archive (i.e. DEBIAN/postrm during package creation).

The script can be called in the following ways:
postrm
remove

After the package was removed.

postrm purge

After the package was purged.

old-postrm upgrade new-version

After the package was upgraded.

new-postrm failed-upgrade old-version new-version

If the above upgrade call fails.

postrm disappear overwriter-package overwriter-version

After all of the packages files have been replaced.

new-postrm abort-install

If preinst fails during install.

new-postrm abort-install old-version new-version

If preinst fails during upgrade of removed package.

new-postrm abort-upgrade old-version new-version

If preinst fails during upgrade.

SEE ALSO

dpkg(1).