Your message dated Sun, 24 Oct 2021 12:48:23 +0000
with message-id <[email protected]>
and subject line Bug#989567: fixed in debconf 1.5.78
has caused the Debian Bug report #989567,
regarding debconf.postinst is completely unnecessary unless upgrading from
pre-etch
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
989567: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989567
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debconf
Version: 1.5.76
Severity: minor
Tags: patch
$reasons got me looking into debconf.postinst. I read it and figured
that it would only do non-trivial things when upgrading from a release
that predates etch (i.e. old-old-old-old-old-old-stable). Nothing in
there is useful for current upgrades. Can we drop it entirely?
Helmut
diff --minimal -Nru debconf-1.5.76/debian/changelog
debconf-1.5.76+nmu1/debian/changelog
--- debconf-1.5.76/debian/changelog 2021-03-20 14:14:50.000000000 +0100
+++ debconf-1.5.76+nmu1/debian/changelog 2021-06-07 20:02:34.000000000
+0200
@@ -1,3 +1,11 @@
+debconf (1.5.76+nmu1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Delete debconf postinst script as it only handles upgrades from pre-etch.
+ (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Mon, 07 Jun 2021 20:02:34 +0200
+
debconf (1.5.76) unstable; urgency=medium
[ Colin Watson ]
diff --minimal -Nru debconf-1.5.76/debian/postinst
debconf-1.5.76+nmu1/debian/postinst
--- debconf-1.5.76/debian/postinst 2021-03-20 14:14:50.000000000 +0100
+++ debconf-1.5.76+nmu1/debian/postinst 1970-01-01 01:00:00.000000000 +0100
@@ -1,72 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ -z "$DEBIAN_HAS_FRONTEND" ] && [ "$1" = configure ] && [ -n "$2" ] && \
- dpkg --compare-versions "$2" lt 1.1.0; then
- # Transition from old database format before debconf starts up.
- if dpkg --compare-versions "$2" lt 0.9.00; then
- if [ -e /var/lib/debconf/config.db -o -e
/var/lib/debconf/templates.db ]; then
- /usr/share/debconf/transition_db.pl
- fi
- # This package used to add itself to apt.conf. That could
result in
- # a zero-byte file, since it no longer does. Detect that and
remove
- # the file.
- if [ ! -s /etc/apt/apt.conf ]; then
- rm -f /etc/apt/apt.conf
- fi
- fi
-
- # Fix up broken db's before debconf starts up.
- if dpkg --compare-versions "$2" lt 1.0.25; then
- /usr/share/debconf/fix_db.pl
- fi
-
- # configdb splits into passworded and non-passworded parts, before
debconf
- # starts up. Do so only if the debconf.conf has the new databases in it.
- if dpkg --compare-versions "$2" lt 1.1.0 &&
- perl -e 'use Debconf::Db; Debconf::Db->load; for (@ARGV) { exit 1
unless
- Debconf::DbDriver->driver($_) }' config passwords; then
- # copies in only the passwords, of course
- debconf-copydb config passwords
- # makes a new config with only non-passwords in it
- debconf-copydb config newconfig \
- -c Name:newconfig \
- -c Driver:File \
- -c Reject-Type:password \
- -c Filename:/var/cache/debconf/newconfig.dat \
- -c Mode:644
- mv -f /var/cache/debconf/newconfig.dat
/var/cache/debconf/config.dat
- fi
-fi
-
-. /usr/share/debconf/confmodule
-
-if [ "$1" = configure ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt
1.3.11; then
- # Remove old debconf database, and associated cruft in /var/lib/debconf.
- # In fact, the whole directory can go! Earlier versions of debconf in
the
- # 0.9.x series kept it just in case, so make sure to delete it on
upgrade
- # from any of those versions, or even older versions.
- if dpkg --compare-versions "$2" lt 0.9.50; then
- rm -rf /var/lib/debconf
- fi
-
- # Kill db cruft.
- if dpkg --compare-versions "$2" lt 0.9.73; then
- # It may not be present, if upgrading from long ago.
- db_unregister foo/bar || true
- db_unregister debconf/switch-to-slang || true
- fi
- if dpkg --compare-versions "$2" lt 1.3.11; then
- db_unregister debconf/showold || true
- fi
-
- # The Text frontend became the Readline frontend.
- if dpkg --compare-versions "$2" lt 1.0.10; then
- db_get debconf/frontend || true
- if [ "$RET" = Text ]; then
- db_set debconf/frontend Readline || true
- fi
- fi
-fi
-
-#DEBHELPER#
--- End Message ---
--- Begin Message ---
Source: debconf
Source-Version: 1.5.78
Done: Colin Watson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
debconf, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated debconf package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 24 Oct 2021 13:28:56 +0100
Source: debconf
Architecture: source
Version: 1.5.78
Distribution: unstable
Urgency: medium
Maintainer: Debconf Developers <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 587380 983425 989567
Changes:
debconf (1.5.78) unstable; urgency=medium
.
[ Colin Watson ]
* debconf-set-selections: Disable non-fatal warnings when loading database
in --checkonly mode (closes: #587380).
.
[ Helmut Grohne ]
* delete debconf postinst script and transition_db.pl as they only handle
upgrades from pre-etch (closes: #989567)
.
[ Johannes Schauer Marin Rodrigues ]
* add support for DPKG_ROOT set in maintainer scripts (closes: #983425)
Checksums-Sha1:
3e58bc8d15975383e34dbe1897b91e667216b011 2082 debconf_1.5.78.dsc
49c7231fdbce8174c203d5a06bd5ec72669d716b 568536 debconf_1.5.78.tar.xz
Checksums-Sha256:
2d14b0dfa135a95f069f7bc05c8075f71ad9994aa18d1849ebf3baab50bbc54f 2082
debconf_1.5.78.dsc
4f543928e8d38df8059db0680882910c487f84b007ef9b081c845f6e51098764 568536
debconf_1.5.78.tar.xz
Files:
68e784540ac5b4389de96d8b7ecbee79 2082 admin optional debconf_1.5.78.dsc
db348d6df9313747969d3335305c5772 568536 admin optional debconf_1.5.78.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmF1UbAACgkQOTWH2X2G
UAsJmg/+NJttrHHyilgfeanL3oN6UZBjs5zPwubpIu6ETU8qPDl0QEBwOmEDAbt1
ZhgIwazXZq88q2aEUy660OPefP3Z4gyO1IYXqH5uKLj1q21U0lXo3B19yoCNYMln
Imxl75xNym+1Gh6QoW1gM36pojhpSMDf2Wfsbnu4uu1UEPwIrg6naXF77BRjh2Lf
e9mTMobgc2VRrSXYYBFL4mAWvUyuuj6AIPOWEjk6gYMEO92NyqLHSJl2sECcxuto
fmK2gwl0cltBazE11ZyDV30r6U/qWT/TvN++G7qEXxorWNtJz2JB3JXRXgmM8kC5
Bkt88kG6vgc7fl13ktPMWjXLG/vHnocIioXDIYe+Zee1dCVYbRGXt5c6AoAQzuPO
e0RFVBOY5/L/BwdQAIi++lRLNKXyKFTyjEuiHOWBWiglZDn0gX7L7CwRyTjcIyOm
WWXfKLarRIho0Scx7lT38kZKmAWw8LBiwG/tOA+eE2j/1yiINhSZcGNmSkC7GopQ
JPTVMcBA/KY9H4Fnrd5yxaS3KWeLoZI38xJpNr3w8rqVpB6weKWW/gAXsoPMBTNw
Wpz2wtQnq2Kw3f5fFYmtxP1HfnrOAPKqMhtaAqiV6F5WV7WMN4EwfQcGP0EScm3y
/MzUJuEYUzS56+5Tzc2bAEi8pgB0sAHGNqrAK49ri/iRrFxsB+E=
=GG5l
-----END PGP SIGNATURE-----
--- End Message ---