Because it happened even by upgrade from 18.04 LTS to 19.04 again when
mnually installed kernel version 5 ... temporary solved by putting
following code in /etc/kernel/postinst.d/kdump-tools

...
if [ -z "${version}" ]; then
        echo >&2 "W: kdump-tools: ${DPKG_MAINTSCRIPT_PACKAGE:-kdump-tools 
package} did not pass a version number"
        exit 2
fi


echo "--- new temporary code taken from package kdump-tools"
if ! linux-version list | grep "${version}" > /dev/null ; then
        exit 0
fi
echo "------"

# exit if kernel does not need an initramfs
if [ "$INITRD" = 'No' ]; then
        exit 0
fi
...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1814384

Title:
  update-initramfs: failed for  with 1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1814384/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to