[Bug 2092737] Please test proposed package

Timo Aaltonen 2092737 at bugs.launchpad.net
Wed May 21 10:02:18 UTC 2025


Hello Heinrich, or anyone else affected,

Accepted flash-kernel into oracular-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/flash-
kernel/3.107ubuntu13~24.10.4 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
oracular to verification-done-oracular. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-oracular. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: flash-kernel (Ubuntu Noble)
       Status: New => Fix Committed

** Tags added: verification-needed-noble

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/2092737

Title:
  [SRU] Invalid entries in flash-kernel db

Status in flash-kernel package in Ubuntu:
  Fix Released
Status in flash-kernel source package in Noble:
  Fix Committed
Status in flash-kernel source package in Oracular:
  Fix Committed
Status in flash-kernel source package in Plucky:
  Fix Committed
Status in flash-kernel source package in Questing:
  Fix Released

Bug description:
  [ Impact ]

  /usr/share/flash-kernel/db/all.db contains an entry

  Machine: Pine64 LTS
  Kernel-Flavors: arm64
  DTB-Id: allwinner/sun50i-a64-pine64-lts.dtb
  Boot-Script-Path: /boot/boot.scr
  U-Boot-Script-Name: bootscr.uboot-generic
  Required-Packages: u-boot-tools

  This makes no sense for Ubuntu. We don't have any kernel flavor arm64
  and it leads to a failure when upgrading the kernel on the board:

  $ sudo apt-get dist-upgrade
  [sudo] password for zfsdt: 
  Sorry, try again.
  [sudo] password for zfsdt: 
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Calculating upgrade... Done
  The following packages were automatically installed and are no longer required:
    linux-headers-6.8.0-31 linux-headers-6.8.0-36 linux-headers-6.8.0-36-generic
    linux-headers-6.8.0-47 linux-headers-6.8.0-47-generic
    linux-image-6.8.0-36-generic linux-image-6.8.0-47-generic
    linux-modules-6.8.0-31-generic linux-modules-6.8.0-36-generic
    linux-modules-6.8.0-47-generic linux-modules-extra-6.8.0-36-generic
    linux-modules-extra-6.8.0-47-generic linux-tools-6.8.0-31
    linux-tools-6.8.0-36 linux-tools-6.8.0-36-generic linux-tools-6.8.0-47
    linux-tools-6.8.0-47-generic
  Use 'sudo apt autoremove' to remove them.
  The following upgrades have been deferred due to phasing:
    python3-distupgrade ubuntu-release-upgrader-core
  0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Setting up flash-kernel (3.107ubuntu13~24.04.1) ...
  Using DTB: allwinner/sun50i-a64-pine64-lts.dtb
  flash-kernel: deferring update (trigger activated)
  Processing triggers for initramfs-tools (0.142ubuntu25.4) ...
  update-initramfs: Generating /boot/initrd.img-6.8.0-51-generic
  Using DTB: allwinner/sun50i-a64-pine64-lts.dtb
  Installing /lib/firmware/6.8.0-51-generic/device-tree/allwinner/sun50i-a64-pine64-lts.dtb into /boot/dtbs/6.8.0-51-generic/allwinner/sun50i-a64-pine64-lts.dtb
  Taking backup of sun50i-a64-pine64-lts.dtb.
  Installing new sun50i-a64-pine64-lts.dtb.
  Ignoring old or unknown version 6.8.0-51-generic (latest is )
  Processing triggers for flash-kernel (3.107ubuntu13~24.04.1) ...
  Using DTB: allwinner/sun50i-a64-pine64-lts.dtb
  Couldn't find DTB sun50i-a64-pine64-lts.dtb on the following paths: /etc/flash-kernel/dtbs /usr/lib/linux-image- /lib/firmware//device-tree/
  Installing  into /boot/dtbs//allwinner/sun50i-a64-pine64-lts.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
  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)

  [ Test Plan ]

  Install Ubuntu on the Pine64 LTS board as described in
  https://discourse.ubuntu.com/t/installing-ubuntu-mantic-on-arm64-pine-a64-lts/38518

  Do non use an entry in file /etc/flash-kernel/db.

  Run `sudo flash-kernel $(uname -r)`.

  Currently this fails as the kernel flavor generic is unknown.

  After correction this should succeed.

  [ Where problems could occur ]

  Changing /usr/share/flash-kernel/db/all.db only affects the
  installation of device-trees and the generation of /boot/boot.scr on
  non-EFI systems.

  Incorrectly editing the database could lead to failure to install
  device-trees during update processes.

  [ Other Info ]

  n/a

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/2092737/+subscriptions




More information about the foundations-bugs mailing list