[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.46-31-g489e751
Holger Levsen
holger at layer-acht.org
Fri Sep 28 11:42:02 UTC 2012
The following commit has been merged in the master branch:
commit d2044a47f89bb8446d2ea249d4029d5b9381de80
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Wed Sep 26 17:33:06 2012 +0200
work around debian-archive-removed-keys.gpg modification during upgrades
#687611
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/custom-scripts/scripts/post_distupgrade_hack_debsums b/custom-scripts/scripts/post_distupgrade_hack_debsums
new file mode 100755
index 0000000..63d584b
--- /dev/null
+++ b/custom-scripts/scripts/post_distupgrade_hack_debsums
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+# http://bugs.debian.org/687611
+if [ -f /usr/share/keyrings/debian-archive-removed-keys.gpg~ ]; then
+ echo "FIXING /usr/share/keyrings/debian-archive-removed-keys.gpg~"
+ mv -v /usr/share/keyrings/debian-archive-removed-keys.gpg~ /usr/share/keyrings/debian-archive-removed-keys.gpg
+fi
diff --git a/debian/changelog b/debian/changelog
index aaadf1c..e1919fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,9 @@ piuparts (0.47) UNRELEASED; urgency=low
* detect_piuparts_issues: Detect incomplete logfiles.
* New bug template: modifies_conffiles.
* New known problem: Modifying conffiles or other shipped files.
+ * New custom script post_distupgrade_hack_debsums to work around #687611
+ which makes all debsum checks fail due to modification of
+ /usr/share/keyrings/debian-archive-removed-keys.gpg during upgrades.
-- Andreas Beckmann <debian at abeckmann.de> Sat, 15 Sep 2012 06:25:05 +0200
--
piuparts git repository
More information about the Piuparts-commits
mailing list