Public bug reported:
I imaged an SD card with Ubuntu Server 26.04 using rpi-imager, then
installed it in a Raspberry Pi 5, updated the system completely and
rebooted.
Afterwards, trying to install ubuntu-realtime fails with these errors:
Setting up linux-image-7.0.0-31-realtime (7.0.0-31.31.1) ...
Setting up ubuntu-realtime (1.1.3) ...
Sourcing file `/etc/default/grub.d/99-realtime.cfg'
/usr/sbin/grub-mkconfig: 280: cannot create /boot/grub/grub.cfg.new: Directory
nonexistent
dpkg: error processing package ubuntu-realtime (--configure):
old ubuntu-realtime package postinst maintainer script subprocess failed with
exit status 2
Processing triggers for linux-image-7.0.0-31-realtime (7.0.0-31.31.1) ...
/etc/kernel/postinst.d/dracut:
dracut: Generating /boot/initrd.img-7.0.0-31-realtime
/etc/kernel/postinst.d/zz-flash-kernel:
Using DTB: bcm2712-rpi-5-b.dtb
Couldn't find DTB bcm2712-rpi-5-b.dtb on the following paths:
/etc/flash-kernel/dtbs /usr/lib/linux-image-7.0.0-31-realtime
/lib/firmware/7.0.0-31-realtime/device-tree/
Installing into /boot/dtbs/7.0.0-31-realtime/./bcm2712-rpi-5-b.dtb
cp: cannot stat '': No such file or directory
run-parts: /etc/kernel/postinst.d/zz-flash-kernel exited with return code 1
dpkg: error processing package linux-image-7.0.0-31-realtime (--configure):
old linux-image-7.0.0-31-realtime package postinst maintainer script
subprocess failed with exit status 1
Errors were encountered while processing:
ubuntu-realtime
linux-image-7.0.0-31-realtime
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)
Manually creating the /boot/grub directory fixes the grub error, but the
other failure that seems related to the dtb still prevents installing
the kernel.
** Affects: ubuntu-realtime (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167025
Title:
Installing ubuntu-realtime on Raspberry Pi 5 fails because of missing
grub
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-realtime/+bug/2167025/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs