63 lines
1.9 KiB
HTML
63 lines
1.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of deb-prerm</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>deb-prerm</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-prerm - package pre-removal maintainer script
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
prerm
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
A package can perform several pre-removal actions via maintainer
|
|
scripts, by including an executable <I>prerm</I> file in its control
|
|
archive (i.e. <I>DEBIAN/prerm</I> during package creation).
|
|
<P>
|
|
|
|
The script can be called in the following ways:
|
|
<DL COMPACT>
|
|
<DT id="1"><I>prerm</I> <B>remove</B><DD>
|
|
Before the package is removed.
|
|
<DT id="2"><I>old-prerm</I> <B>upgrade</B> <I>new-version</I><DD>
|
|
Before an upgrade.
|
|
<DT id="3"><I>new-prerm</I> <B>failed-upgrade</B> <I>old-version new-version</I><DD>
|
|
If the above <B>upgrade</B> fails.
|
|
<DT id="4"><I>prerm</I> <B>deconfigure in-favour</B> <I>new-package new-version</I><DD>
|
|
|
|
<BR> [ <B>removing</B> <I>old-package old-version</I> ]
|
|
Before package is deconfigured while dependency is replaced due to conflict.
|
|
<DT id="5"><I>prerm</I> <B>remove in-favour</B> <I>new-package new-version</I><DD>
|
|
Before the package is replaced due to conflict.
|
|
</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="6"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="8"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="9"><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>
|