Bug#868029: stretch-pu: package gnats/4.1.0-3+deb9u1
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu
gnats-user fails to purge if gnats was installed but has not been
purged, yet. This is triggered by several piuparts tests (currently
ignored, but I want to promote that to a proper failure without working
around it in piuparts).
This will add NEW -dbgsym packages to stretch, I hope that is no
problem.
The patch is trivial, just adding a --ignore-fail-on-non-empty.
The fix (and some more QA changes) was just uploaded to sid.
If this is accepted, I'd like to upload the same change to jessie (with
just s/stretch/jessie/;s/deb9u1/deb8u1/ on the changelog, since stretch
and jessie currently have the same version.
Andreas
diff -Nru gnats-4.1.0/debian/changelog gnats-4.1.0/debian/changelog
--- gnats-4.1.0/debian/changelog 2014-01-09 14:44:49.000000000 +0100
+++ gnats-4.1.0/debian/changelog 2017-07-11 11:50:23.000000000 +0200
@@ -1,3 +1,11 @@
+gnats (4.1.0-3+deb9u1) stretch; urgency=medium
+
+ * QA upload.
+ * gnats-user.postrm: Do not fail to purge if /var/lib/gnats/gnats-db is not
+ empty. (Closes: #661015)
+
+ -- Andreas Beckmann <anbe@debian.org> Tue, 11 Jul 2017 11:50:23 +0200
+
gnats (4.1.0-3) unstable; urgency=medium
* QA upload.
diff -Nru gnats-4.1.0/debian/gnats-user.postrm.in gnats-4.1.0/debian/gnats-user.postrm.in
--- gnats-4.1.0/debian/gnats-user.postrm.in 2012-01-01 10:50:41.000000000 +0100
+++ gnats-4.1.0/debian/gnats-user.postrm.in 2017-07-11 11:50:23.000000000 +0200
@@ -22,7 +22,7 @@
#
if [ "$1" = "purge" ] && [ -d "@GNATSDBDIR@" ]; then
- rmdir "@GNATSDBDIR@"
+ rmdir --ignore-fail-on-non-empty "@GNATSDBDIR@"
fi
###############################################################################
#
Reply to: