I suspect this may be a reasonable fix:

diff --git a/debian/changelog b/debian/changelog
index 0b3a119..d000449 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+liblockfile (1.09-4.1) unstable; urgency=low
+
+  * Don't remove /usr/share/doc/liblockfile1 from the postrm anymore.
+    Doing so breaks multarch, and it appears that the code was originally
+    inserted to fix an upgrade problem (#339498) from 2005.
+    (closes: #695268)
+
+ -- Rob Browning <r...@defaultvalue.org>  Sun, 09 Dec 2012 17:39:52 -0600
+
 liblockfile (1.09-4) unstable; urgency=low
 
   * Multiarch issues
diff --git a/debian/postrm b/debian/postrm
index 4d9d0ef..8c9df31 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -5,10 +5,5 @@ set -e
 if [ "$1" = "remove" ]
 then
     ldconfig
-
-    if [ -d /usr/share/doc/liblockfile1 ]
-    then
-        rm -fr /usr/share/doc/liblockfile1
-    fi
 fi
 	
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4

Reply via email to