- configured in order to run. In the case of <tt>postinst
- configure</tt>, the depended-on packages will be unpacked
- and configured first. (If both packages are involved in a
- dependency loop, this might not work as expected; see the
- explanation a few paragraphs back.) In the case
- of <prgn>prerm</prgn> or other <prgn>postinst</prgn>
- actions, the package dependencies will normally be at
- least unpacked, but they may be only "Half-Installed" if a
- previous upgrade of the dependency failed.
+ configured in order to run, or if the dependend-on package
+ is desirable for cleanup done by <prgn>postrm</prgn>. In
+ the case of <tt>postinst configure</tt>, the depended-on
+ packages will be unpacked and configured first. (If both
+ packages are involved in a dependency loop, this might not
+ work as expected; see the explanation a few paragraphs
+ back.) In the case of <prgn>prerm</prgn> or
+ other <prgn>postinst</prgn> actions, the package
+ dependencies will normally be at least unpacked, but they
+ may be only "Half-Installed" if a previous upgrade of the
+ dependency failed. In the case of <prgn>postrm</prgn>,
+ there are no guarantees, but the depended-on package is
+ more likely to be available if the package declares a
+ dependency (particularly for <tt>postrm remove</tt>).
+ The <prgn>postrm</prgn> script must cleanly skip actions
+ that require a dependency if that dependency isn't
+ available.