Error update kernel

I just receive my new computer, it’s an AMD64 (not a raspi) and install Kaisen yesterday.
Today I do upgrade and I have this error:

Setting up linux-image-5.19.0-kaisen1-amd64 (5.19-1kaisen) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.19.0-kaisen1-amd64:.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.19.0-kaisen1-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c
ode 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.19.0-kaisen1-amd64 (--configure):
 installed linux-image-5.19.0-kaisen1-amd64 package post-installation script sub
process returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-5.19.0-kaisen1-amd64 (= 5.19-1kaisen);
 however:
  Package linux-image-5.19.0-kaisen1-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-5.19.0-kaisen1-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c
ode 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 linux-image-5.19.0-kaisen1-amd64
 linux-image-amd64
 initramfs-tools
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

What I tried

  1. apt purge raspi-firmware
  2. apt dist-upgrade
  3. apt install raspi-firmware
  4. apt dist-upgrade
  5. sudo kaisen-update
  6. sudo update-initramfs -u -k all

but it still bugs with the raspi-firmware

What I could try doc?

Hello @JOduMonT,

You can completely uninstall the raspi-firmware package. This bug is caused by the firmwares packages provided by Debian. I solved this problem in create linux-firmware-* packages for the hardware support.

You can run this command: sudo dpkg --purge raspi-firmware and relaunch an update of your system.

1 Like

ok!, I can’t do this right now, hopefully it’s the missing part :wink:

What is the ISO used to install Kaisen?

Yes, after the deinstallation of the raspi-firmware package, you will not have any error for that.

This bug has already been reported :slight_smile:

Thank you again for your feedback :wink:

Hello @JOduMonT,

Can I close this topic?