This is also reported in Ubuntu here
https://bugs.edge.launchpad.net/debian/+source/isdnutils/+bug/281324

Here is the patch against isdnutils_3.12.20071127-0ubuntu1
diff -u isdnutils-3.12.20071127/debian/changelog 
isdnutils-3.12.20071127/debian/changelog
--- isdnutils-3.12.20071127/debian/changelog
+++ isdnutils-3.12.20071127/debian/changelog
@@ -1,3 +1,10 @@
+isdnutils (1:3.12.20071127-0ubuntu2) intrepid; urgency=low
+
+  * isdnutils-base.postrm : Remove echo when /etc/isdn can't be deleted
+    This triggers an error purging the package (LP: #281324)
+
+ -- Jean-Baptiste Lallement <[EMAIL PROTECTED]>  Fri, 10 Oct 2008 22:37:27 
+0200
+
 isdnutils (1:3.12.20071127-0ubuntu1) hardy; urgency=low
 
   * Updated upstream snapshot (3 fixes only):
diff -u isdnutils-3.12.20071127/debian/isdnutils-base.postrm 
isdnutils-3.12.20071127/debian/isdnutils-base.postrm
--- isdnutils-3.12.20071127/debian/isdnutils-base.postrm
+++ isdnutils-3.12.20071127/debian/isdnutils-base.postrm
@@ -5,10 +5,7 @@
 
 case "$1" in
        purge)
-        rmdir /etc/isdn 2>/dev/null || true
-        if [ -d /etc/isdn ]; then
-               echo "There are still files in /etc/isdn/ that you may want to 
remove manually."
-        fi
+            rmdir --ignore-fail-on-non-empty /etc/isdn 
          ;;
 
        remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)

Reply via email to