Package: kdump-tools Version: 1:1.6.1-1 Severity: normal Dear Maintainer,
* What led up to the situation? The installation of kdump-tools failed. dpkg: error processing package kdump-tools (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for systemd (232-25+deb9u1) ... Errors were encountered while processing: kdump-tools E: Sub-process /usr/bin/dpkg returned an error code (1) * What exactly did you do (or not do) that was effective (or ineffective)? Changed postinst script to not replace Modules in initramfs.conf from "most" to "dep". * What was the outcome of this action? The installation finished successfull. -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.10.17-2-pve (SMP w/16 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages kdump-tools depends on: ii bsdmainutils 9.0.12+nmu1 ii debconf [debconf-2.0] 1.5.61 ii init-system-helpers 1.48 ii kexec-tools 1:2.0.14-1 ii lsb-base 9.20161125 ii makedumpfile 1:1.6.1-1 kdump-tools recommends no packages. kdump-tools suggests no packages. -- Configuration Files: /etc/kernel/postinst.d/kdump-tools changed: version="$1" kdumpdir="/var/lib/kdump" [ -x /usr/sbin/mkinitramfs ] || exit 0 if [ -z "${version}" ]; then echo >&2 "W: kdump-tools: ${DPKG_MAINTSCRIPT_PACKAGE:-kdump-tools package} did not pass a version number" exit 2 fi if [ "$INITRD" = 'No' ]; then exit 0 fi if [ -n "$DEB_MAINT_PARAMS" ]; then eval set -- "$DEB_MAINT_PARAMS" if [ -z "$1" ] || [ "$1" != "configure" ]; then exit 0 fi fi if [ ! -d "$kdumpdir" ];then mkdir "$kdumpdir" || true fi if [ -d "$kdumpdir/initramfs-tools" ];then rm -Rf $kdumpdir/initramfs-tools || true fi cp -pr /etc/initramfs-tools "$kdumpdir" || true initramfsdir="$kdumpdir/initramfs-tools" cat /etc/initramfs-tools/initramfs.conf > "$initramfsdir/initramfs.conf" || true if ! [ -e "$initramfsdir/initramfs.conf" ];then echo >&2 "W: kdump-tools: Unable to create $initramfsdir/initramfs.conf" exit 2 fi if [ -e "$kdumpdir/initrd.img-${version}" ];then rm -f "$kdumpdir/initrd.img-${version}" || true fi echo "kdump-tools: Generating $kdumpdir/initrd.img-${version}" if mkinitramfs -d "$initramfsdir" -o "$kdumpdir/initrd.img-${version}.new" "${version}";then mv "$kdumpdir/initrd.img-${version}.new" "$kdumpdir/initrd.img-${version}" else mkinitramfs_return="$?" rm -f "${initramfs}.new" echo "update-initramfs: failed for ${initramfs} with $mkinitramfs_return." >&2 exit $mkinitramfs_return fi -- debconf information: * kdump-tools/use_kdump: true