Public bug reported:

During a release upgrade from Ubuntu 24.04.5 LTS (noble) to 26.04.1 LTS 
(resolute)
on a Raspberry Pi 4 Model B Rev 1.1 (arm64), initramfs-tools fails to configure.

When update-initramfs generates /boot/initrd.img-7.0.0-1020-raspi, the
/etc/initramfs/post-update.d/flash-kernel hook exits with:

  Unsupported platform 'Raspberry Pi 4 Model B Rev 1.1'.
  run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 
1
  dpkg: error processing package initramfs-tools (--configure):
   old initramfs-tools package postinst maintainer script subprocess failed 
with exit status 1

This leaves dpkg in a failed state mid-upgrade, and the new kernel/initrd are 
not
copied to /boot/firmware, so the system may not boot if rebooted.

The same upgrade succeeds on another Pi 4 whose model string matches the
"Raspberry Pi 4 Model B *" entry in /usr/share/flash-kernel/db/all.db. The
Rev 1.1 board (an early Pi 4 revision) is not matched during the upgrade.

Steps to reproduce:
1. Raspberry Pi 4 Model B Rev 1.1 running Ubuntu 24.04.5 LTS
2. Update boot EEPROM (upgrader requires >= 2022-11-25)
3. sudo do-release-upgrade -d
4. initramfs-tools configuration fails with the error above

Expected: the upgrade completes and the kernel/initrd are installed to
/boot/firmware.

ProblemType: Package
DistroRelease: Ubuntu 26.04
Package: initramfs-tools 0.151ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-1065.69-raspi 6.8.12
Uname: Linux 6.8.0-1065-raspi aarch64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: arm64
CasperMD5CheckResult: unknown
CloudArchitecture: aarch64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial:
 
CloudSubPlatform: config-disk (/dev/mmcblk0p1)
Date: Tue Sep 22 21:57:39 2026
ErrorMessage: old initramfs-tools package postinst maintainer script subprocess 
failed with exit status 1
ImageMediaBuild: 20210201.1
PackageArchitecture: all
Python3Details: /usr/bin/python3.14, Python 3.14.4, python3-minimal, 
3.14.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.23.7ubuntu1
 apt  3.2.0
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.151ubuntu1 failed to install/upgrade: old 
initramfs-tools package postinst maintainer script subprocess failed with exit 
status 1
UpgradeStatus: Upgraded to resolute on 2026-09-23 (0 days ago)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package arm64 arm64-image cloud-image need-duplicate-check 
raspi-image resolute

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

Title:
  package initramfs-tools 0.151ubuntu1 failed to install/upgrade: old
  initramfs-tools package postinst maintainer script subprocess failed
  with exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2167996/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to