-debian-policy (3.6.1) unstable; urgency=low
+debian-policy (3.6.1.0) unstable; urgency=low
Josip:
* Removed obsolete section on obsolete constructs and libraries,
closes: #193748.
Manoj:
* Change reference to the debconf introduction from kitenet to a debian
- hosted server. closes: Bug#184518
+ hosted server. closes: Bug#187297
* Added myspell-dictionary to the virtual packages list closes: Bug#203728
* Fix the restart action in the init.d/bind example; it now uses
--oknodo so that the action does not fail when the service is not
running. closes: Bug#187250
* invoke-rc.d and update-rc.d are now in the sysv-rc package instead of
the sysvinit package. Fixed a reference in policy. closes: Bug#200440
+ * Note that postinst abort-remove is called if there is an error while
+ removing the package. closes: Bug#188030
+ * [AMENDMENT 2003/08/03] Make Debconf the standard for prompting the
+ user closes: Bug#176506
- --
+ -- Manoj Srivastava <srivasta@debian.org> Tue, 19 Aug 2003 07:28:10 -0500
debian-policy (3.6.0) unstable; urgency=low
<heading>Prompting in maintainer scripts</heading>
<p>
Package maintainer scripts may prompt the user if
- necessary. Prompting may be accomplished by hand<footnote>
- From the Jargon file: by hand 2. By extension,
- writing code which does something in an explicit or
- low-level way for which a presupplied library
- (<em>debconf, in this instance</em>) routine ought
- to have been available.
- </footnote>
- (but this is deprecated), or by communicating through a program
- which conforms to the Debian Configuration management
- specification, version 2 or higher, such as
- <prgn>debconf</prgn><footnote>
- <p>
- 6% of Debian packages [see <url
- id="http://ftp-master.debian.org/~joeyh/debconf-stats/"
- name="Debconf stats">] currently use
- <package>debconf</package> to prompt the user at
- install time, and this number is growing daily. The
- benefits of using debconf are briefly explained at
- <url id="http://www.debian.org/doc/packaging-manuals/debconf_specification.html"
- name="Debconf introduction">; they include
- preconfiguration, (mostly) noninteractive
- installation, elimination of redundant prompting,
- consistency of user interface, etc.
- </p>
-
- <p>
- With this increasing number of packages using
- <package>debconf</package>, plus the existence of a
- nascent second implementation of the Debian
- configuration management system
- (<package>cdebconf</package>), and the stabilization
- of the protocol these things use, the time has
- finally come to reflect the use of these things in
- policy.
- </p>
- </footnote>.
+ necessary. Prompting should be done by communicating
+ through a program, such as <prgn>debconf</prgn>, which
+ conforms to the Debian Configuration management
+ specification, version 2 or higher. Prompting the user by
+ other means, such as by hand<footnote>
+ From the Jargon file: by hand 2. By extension,
+ writing code which does something in an explicit or
+ low-level way for which a presupplied library
+ (<em>debconf, in this instance</em>) routine ought
+ to have been available.
+ </footnote>, is now deprecated.
</p>
<p>
</item>
</enumlist>
- No attempt is made to unwind after errors during
- removal.
+ If there are problems during this process, we call
+ <example compact="compact">postinst
+ abort-remove</example>. No other attempt is made to unwind
+ after errors during removal.
</p>
</sect>
</chapt>