reopen 566072 thanks On Fri, 2011-01-14 at 21:13 +0100, Carsten Otto wrote: > 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: [...] > + 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
This appears to be due to the fact that the package build only invokes dh_installdebconf in the binary-indep target. As a result the templates file intended to warn you about the contents of your fstab is only added to the package if a full build (i.e. arch:all and architecture-dependent packages) is being performed. The maintainer's i386 upload therefore includes the template, but the buildd-generated packages do not (nor does the amd64 package which the maintainer uploaded together with the i386 packages, so presumably the initial build was performed on i386 and an arch-dep build on amd64). I've verified that adding dh_installdebconf to the binary-arch target as well ensures that the templates are added both for a full and an arch-dep-binary-only build. Regards, Adam -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org