[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#408910: linux-image-2.6.18-4-686: linux-image postinst breaks debconf by writing to stdout



Package: linux-image-2.6.18-4-686
Version: 2.6.18.dfsg.1-9
Severity: normal


The postrm scripts for linux-image.2.6.18 break debconf, and therefore exit
with non-zero status, and therefore fail to purge properly.  Their mistake
is in calling system() for hooks and other scripts, which causes the scripts
to write to stdout, which messes up debconf.

Adding a strategically placed ">&2" to the system() command strings makes
everything A-OK for me.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages linux-image-2.6.18-4-686 depends on:
ii  coreutils                     5.97-5.2   The GNU core utilities
ii  debconf [debconf-2.0]         1.5.11     Debian configuration management sy
ii  initramfs-tools [linux-initra 0.85e      tools for generating an initramfs
ii  module-init-tools             3.3-pre4-1 tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.12-18  Yet Another mkInitRD

Versions of packages linux-image-2.6.18-4-686 recommends:
ii  libc6-i686                  2.3.6.ds1-10 GNU C Library: Shared libraries [i

-- debconf information excluded



Reply to: