Control: tag 801156 pending
Hi!
Bug #801156 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:
https://anonscm.debian.org/cgit/dpkg/dpkg.git/diff/?id=10d77ba
---
commit 10d77ba878eb998b3eede0c5ac7917a901de05b0
Author: Guillem Jover <[email protected]>
Date: Sat Oct 10 16:06:41 2015 +0200
libdpkg: Config-Version should also be initialized on triggers-pending
A package in triggers-pending state should be considered an installed
package, by not doing so we might end up not passing the correct version
to the configure maintainer script and making it look like we are doing
a configuration for a first install, instead of an upgrade.
Closes: #801156
Reported-by: Andreas Beckmann <[email protected]>
Stable-Candidate: 1.16.x 1.17.x
diff --git a/debian/changelog b/debian/changelog
index 6c27993..82f811a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,10 @@ dpkg (1.18.4) UNRELEASED; urgency=low
* Switch dpkg-scansources and dpkg-scanpackages to use File::Find instead
of find(1), as the former is more portable with more consistent behavior,
and always canonicalizes the pathnames. Closes: #800649
+ * Initialize Config-Version also for packages previously in triggers-pending
+ state, otherwise we end up not passing the previously configured version
+ to «postinst configure», which might consider this a first install instead
+ of an upgrade. Closes: #801156
* Build system:
- Set PERL5LIB globally for the test suite to the local modules directory,
to avoid using the system modules. Regression introduced in dpkg 1.17.8.