Dear all,

the patch introduced in #68 causes the postinst script to fail when
upgrading from lenny to squeeze while the fstab contains a noauto entry
with non-zero pass number.

By adding -ex to the postinst script I got:
+ db_input critical util-linux/noauto-with-nonzero-passnum
+ _db_cmd 'INPUT critical' util-linux/noauto-with-nonzero-passnum
+ IFS=' '
+ printf '%s\n' 'INPUT critical util-linux/noauto-with-nonzero-passnum'
+ IFS='
+ read -r _db_internal_line
+ RET='10 "util-linux/noauto-with-nonzero-passnum" doesn'\''t exist'
+ case ${_db_internal_line%%[   ]*} in
+ return 10
dpkg: error processing util-linux (--install):
 subprocess installed post-installation script returned error exit status 10

As a result, the postinst script fails with error code 10. Fixing the
fstab worked for me, but getting that information was non-trivial.

Best regards,
-- 
Carsten Otto           o...@informatik.rwth-aachen.de
LuFG Informatik 2      http://verify.rwth-aachen.de/otto/
RWTH Aachen            phone: +49 241 80-21211

Attachment: signature.asc
Description: Digital signature

Reply via email to