:: [DNG] problem updating kernel.
Top Page
Delete this message
Reply to this message
Author: Hector Gonzalez Jaime
Date:  
To: dng
Subject: [DNG] problem updating kernel.
Just a heads up, on some daedalus servers we get this error while
running "apt-get dist-upgrade":


/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-27-cloud-amd64
E: /usr/share/initramfs-tools/hooks/growroot failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.1.0-27-cloud-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-27-cloud-amd64
(--configure):
 installed linux-image-6.1.0-27-cloud-amd64 package post-installation
script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-cloud-amd64:
 linux-image-cloud-amd64 depends on linux-image-6.1.0-27-cloud-amd64 (=
6.1.115-1); however:
  Package linux-image-6.1.0-27-cloud-amd64 is not configured yet.

dpkg: error processing package linux-image-cloud-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.1.0-27-cloud-amd64
 linux-image-cloud-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)


It looks like the growroot hook fails to find /usr/bin/grep, as it is
still on /bin.  Installing usrmerge or if it's not viable symlinking
/usr/bin/grep to /bin/grep fixes this.

--
Hector Gonzalez
cacho@???