[Bug 1814384] Re: update-initramfs: failed for with 1.
martin suc
martin.suc at googlemail.com
Wed May 8 16:50:12 UTC 2019
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
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1814384
Title:
update-initramfs: failed for with 1.
Status in initramfs-tools package in Ubuntu:
Confirmed
Bug description:
lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Within installation linux kernel 4.15.0.45 error occurred:
!!! x86_64-linux-gnu_EGL.conf is not an issue here !!!
Setting up linux-image-4.15.0-45-generic (4.15.0-45.48) ...
Setting up linux-headers-4.15.0-45 (4.15.0-45.48) ...
Setting up linux-headers-4.15.0-45-generic (4.15.0-45.48) ...
Processing triggers for linux-image-4.15.0-45-generic (4.15.0-45.48) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf: No such file or directory
/etc/kernel/postinst.d/kdump-tools:
kdump-tools: Generating /var/lib/kdump/initrd.img-4.15.0-45-generic
mkinitramfs: for device none missing /sys/dev/block/0:0
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for with 1.
run-parts: /etc/kernel/postinst.d/kdump-tools exited with return code 1
dpkg: error processing package linux-image-4.15.0-45-generic (--configure):
installed linux-image-4.15.0-45-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.15.0-45-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1814384/+subscriptions
More information about the foundations-bugs
mailing list