Bug#223872: dpkg ignores preconfigure script failures
dpkg proceeds even if the preconfigure scripts do not successfully run.
For example, /tmp is locally mounted noexec to prevent abuse. After
upward of a hundred errors like the below, dpkg carried through the
rest of the install and completed without any indication that anything
had gone wrong. If I had not been watching the console, I would not
know why some packages are broken.
Can't exec "/tmp/base-config.config.111481": Permission denied at /usr/share/perl/5.8.2/IPC/Open3.pm line 165.
open2: exec of /tmp/base-config.config.111481 configure 1.75 failed at /usr/share/perl5/Debconf/ConfModule.pm line 44
base-config failed to preconfigure, with exit status 255
Can't exec "/tmp/passwd.config.111483": Permission denied at /usr/share/perl/5.8.2/IPC/Open3.pm line 165.
-- System Information:
Debian Release: testing/unstable
Kernel: Linux pinkbits 2.4.21mcg-1025-2 #1 Sat Oct 25 12:08:34 CDT 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages dpkg depends on:
ii dselect 1.10.18 a user tool to manage Debian packa
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
-- no debconf information