67 lines
2.1 KiB
HTML
67 lines
2.1 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of deb-postrm</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>deb-postrm</H1>
|
|
Section: dpkg suite (5)<BR>Updated: 2020-03-23<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
deb-postrm - package post-removal maintainer script
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
postrm
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
A package can perform several post-removal actions via maintainer
|
|
scripts, by including an executable <I>postrm</I> file in its control
|
|
archive (i.e. <I>DEBIAN/postrm</I> during package creation).
|
|
<P>
|
|
|
|
The script can be called in the following ways:
|
|
<DL COMPACT>
|
|
<DT id="1"><I>postrm</I> <B>remove</B><DD>
|
|
After the package was removed.
|
|
<DT id="2"><I>postrm</I> <B>purge</B><DD>
|
|
After the package was purged.
|
|
<DT id="3"><I>old-postrm</I> <B>upgrade</B> <I>new-version</I><DD>
|
|
After the package was upgraded.
|
|
<DT id="4"><I>new-postrm </I><B>failed-upgrade</B> <I>old-version new-version</I><DD>
|
|
If the above <B>upgrade</B> call fails.
|
|
<DT id="5"><I>postrm</I> <B>disappear</B> <I>overwriter-package</I> <I>overwriter-version</I><DD>
|
|
After all of the packages files have been replaced.
|
|
<DT id="6"><I>new-postrm</I> <B>abort-install</B><DD>
|
|
If <I>preinst</I> fails during install.
|
|
<DT id="7"><I>new-postrm</I> <B>abort-install</B> <I>old-version new-version</I><DD>
|
|
If <I>preinst</I> fails during upgrade of removed package.
|
|
<DT id="8"><I>new-postrm</I> <B>abort-upgrade</B> <I>old-version new-version</I><DD>
|
|
If <I>preinst</I> fails during upgrade.
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+dpkg">dpkg</A></B>(1).
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="12"><A HREF="#lbAE">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:02 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|