On Ubuntu noble the same occurs if 'linux-version list' cannot find any kernel. E.g. if a boot partition with the kernel exists but is not mounted at /boot/
Processing triggers for flash-kernel (3.107ubuntu4) ...
Using DTB: starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
Couldn't find DTB jh7110-starfive-visionfive-2-v1.3b.dtb on the following paths: /etc/flash-kernel/dtbs /usr/lib/linux-image- /lib/firmware//device-tree/
Installing into /boot/dtbs//starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
cp: cannot stat '': No such file or directory
dpkg: error processing package flash-kernel (--configure):
installed flash-kernel package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.38-3ubuntu1) ...
Sevan,
could you, please, provide the output of the following commands:
linux-version list
ls -la /boot
flash-kernel $(uname -r)
On Ubuntu noble the same occurs if 'linux-version list' cannot find any kernel. E.g. if a boot partition with the kernel exists but is not mounted at /boot/
Processing triggers for flash-kernel (3.107ubuntu4) ... jh7110- starfive- visionfive- 2-v1.3b. dtb starfive- visionfive- 2-v1.3b. dtb on the following paths: /etc/flash- kernel/ dtbs /usr/lib/ linux-image- /lib/firmware/ /device- tree/ /starfive/ jh7110- starfive- visionfive- 2-v1.3b. dtb
Using DTB: starfive/
Couldn't find DTB jh7110-
Installing into /boot/dtbs/
cp: cannot stat '': No such file or directory
dpkg: error processing package flash-kernel (--configure):
installed flash-kernel package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.38-3ubuntu1) ...
Sevan,
could you, please, provide the output of the following commands:
linux-version list
ls -la /boot
flash-kernel $(uname -r)
Best regards
Heinrich