Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian....@packages.debian.org
Usertags: pu

ndoutils is one of two packages remaining in the archive that use ucf
unconditionally during postrm purge, causing piuparts failures.
Since the package has been removed after jessie, I propose to finally
fix this bug in jessie-pu.

Andreas
diff -u ndoutils-1.4b9/debian/changelog ndoutils-1.4b9/debian/changelog
--- ndoutils-1.4b9/debian/changelog
+++ ndoutils-1.4b9/debian/changelog
@@ -1,3 +1,10 @@
+ndoutils (1.4b9-1.1+deb8u1) jessie; urgency=medium
+
+  * Non-maintainer upload.
+  * postrm purge: Check for ucf before calling it.  (Closes: #677065)
+
+ -- Andreas Beckmann <a...@debian.org>  Thu, 12 Jan 2017 03:10:01 +0100
+
 ndoutils (1.4b9-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u ndoutils-1.4b9/debian/ndoutils-NG-DB.postrm.in ndoutils-1.4b9/debian/ndoutils-NG-DB.postrm.in
--- ndoutils-1.4b9/debian/ndoutils-NG-DB.postrm.in
+++ ndoutils-1.4b9/debian/ndoutils-NG-DB.postrm.in
@@ -18,7 +18,9 @@
 	db_purge
 	for f in ndomod.cfg ndo2db.cfg; do
 		rm -f /etc/@@NG@@/$f
+	      if [ -x /usr/bin/ucf ]; then
 		ucf --purge /etc/@@NG@@/$f
+	      fi
 	done
 fi
 

Reply via email to