flash-kernel cannot find device-tree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flash-kernel (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I ran apt-get dist-upgrade on 24.04 on a Pine64 A64 LTS board and saw the following error:
Setting up linux-image-
I: /boot/vmlinuz.old is now a symlink to vmlinuz-
I: /boot/initrd.
I: /boot/vmlinuz is now a symlink to vmlinuz-
I: /boot/initrd.img is now a symlink to initrd.
Setting up git (1:2.43.
Setting up linux-tools-
Setting up python3-netplan (1.0-2ubuntu1.2) ...
Setting up libc6-dev:arm64 (2.39-0ubuntu8.2) ...
Setting up curl (8.5.0-2ubuntu10.1) ...
Setting up ubuntu-
Setting up netplan-generator (1.0-2ubuntu1.2) ...
Removing 'diversion of /lib/systemd/
Setting up initramfs-
Setting up linux-image-generic (6.8.0-36.36) ...
Setting up initramfs-tools (0.142ubuntu25.1) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-generic (6.8.0-36.36) ...
Setting up netplan.io (1.0-2ubuntu1.2) ...
Setting up linux-tools-
Setting up cloud-init (24.1.3-0ubuntu3.3) ...
Setting up flash-kernel (3.107ubuntu8) ...
Using DTB: allwinner/
flash-kernel: deferring update (trigger activated)
Setting up apport-
Setting up apport (2.28.1-0ubuntu3) ...
apport-
Processing triggers for dbus (1.14.10-4ubuntu4) ...
Processing triggers for install-info (7.1-3build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.2) ...
Processing triggers for rsyslog (8.2312.0-3ubuntu9) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for linux-image-
/etc/kernel/
update-initramfs: Generating /boot/initrd.
Using DTB: allwinner/
Installing /lib/firmware/
Installing new sun50i-
flash-kernel: deferring update (trigger activated)
/etc/kernel/
Using DTB: allwinner/
Installing /lib/firmware/
Taking backup of sun50i-
Installing new sun50i-
flash-kernel: deferring update (trigger activated)
/etc/kernel/
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for initramfs-tools (0.142ubuntu25.1) ...
update-initramfs: Generating /boot/initrd.
Using DTB: allwinner/
Installing /lib/firmware/
Taking backup of sun50i-
Installing new sun50i-
Ignoring old or unknown version 6.8.0-36-generic (latest is )
Processing triggers for flash-kernel (3.107ubuntu8) ...
Using DTB: allwinner/
Couldn't find DTB sun50i-
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
Errors were encountered while processing:
flash-kernel
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: flash-kernel 3.107ubuntu8
ProcVersionSign
Uname: Linux 6.8.0-31-generic aarch64
ApportVersion: 2.28.1-0ubuntu3
Architecture: arm64
CasperMD5CheckR
CloudArchitecture: aarch64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial: 20230910
CloudSubPlatform: seed-dir (/var/lib/
Date: Sun Jun 30 12:11:32 2024
ProcEnviron:
LANG=C.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=vt220
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: flash-kernel
UpgradeStatus: Upgraded to noble on 2024-04-20 (71 days ago)
These device-tree files are available on the system:
/lib/firmware/ 6.5.0-28- generic/ device- tree/allwinner/ sun50i- a64-pine64- lts.dtb 6.8.0-31- generic/ device- tree/allwinner/ sun50i- a64-pine64- lts.dtb 6.8.0-36- generic/ device- tree/allwinner/ sun50i- a64-pine64- lts.dtb
/lib/firmware/
/lib/firmware/