Hi! I uploaded proposed fix for this problem to mentors:

https://mentors.debian.net/package/udftools

Can you test this new version if it fixes your problem?

In attachment I'm sending debdiff between old and new version.

-- 
Pali Rohár
pali.ro...@gmail.com
diff -Nru udftools-2.0/debian/changelog udftools-2.0/debian/changelog
--- udftools-2.0/debian/changelog       2018-01-16 23:47:19.000000000 +0100
+++ udftools-2.0/debian/changelog       2018-02-12 18:06:15.000000000 +0100
@@ -1,3 +1,9 @@
+udftools (2.0-2) unstable; urgency=medium
+
+  * Fix installation in chroot (Closes: #890224)
+
+ -- Pali Rohár <pali.ro...@gmail.com>  Mon, 12 Feb 2018 18:06:15 +0100
+
 udftools (2.0-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru udftools-2.0/debian/udftools.postinst 
udftools-2.0/debian/udftools.postinst
--- udftools-2.0/debian/udftools.postinst       2018-01-16 23:46:48.000000000 
+0100
+++ udftools-2.0/debian/udftools.postinst       2018-02-12 18:06:08.000000000 
+0100
@@ -3,9 +3,10 @@
 
 if [ "$1" = "configure" ]; then
        if which udevadm 1>/dev/null 2>&1; then
-               udevadm control --reload
-               if dpkg --compare-versions "$2" le "2.0-1~"; then
-                       udevadm trigger --action=add --subsystem-match=block 
--property-match=ID_CDROM=1
+               if udevadm control --reload; then
+                       if dpkg --compare-versions "$2" le "2.0-1~"; then
+                               udevadm trigger --action=add 
--subsystem-match=block --property-match=ID_CDROM=1 || true
+                       fi
                fi
        fi
 fi

Attachment: signature.asc
Description: PGP signature

Reply via email to