[Bug 2092526] Re: package flash-kernel 3.107ubuntu13~24.10.1 failed to install/upgrade: installed flash-kernel package post-installation script subprocess returned error exit status 1

Robin 2092526 at bugs.launchpad.net
Wed Aug 27 13:20:41 UTC 2025


Problem recurred updating Ubuntu 24.04.3 LTS, recently installed on Raspberry Pi 4B.
Checked fstab, and checked the filesystem to /boot/firmware, and all seemed to be rw, rather than ro.
The command: sudo apt --fix-broken install sorted it, after a reboot. Not sure if the reboot was necessary, though.

That still does not explain quite why the incident occurred in the first
place, though! The bug, whatever it is, is apparently still there.

** Changed in: flash-kernel (Ubuntu)
       Status: Expired => Confirmed

-- 
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/2092526

Title:
  package flash-kernel 3.107ubuntu13~24.10.1 failed to install/upgrade:
  installed flash-kernel package post-installation script subprocess
  returned error exit status 1

Status in flash-kernel package in Ubuntu:
  Confirmed

Bug description:
  flash-kernel: installing version 6.11.0-1005-raspi
  Taking backup of vmlinuz.
  mv: cannot move '/boot/firmware/vmlinuz' to '/boot/firmware/vmlinuz.bak': Read-o
  nly file system
  run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
  dpkg: error processing package initramfs-tools (--configure):
   installed initramfs-tools package post-installation script subprocess returned 
  error exit status 1
  Errors were encountered while processing:
   flash-kernel
   initramfs-tools
  Error: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 24.10
  Package: flash-kernel 3.107ubuntu13~24.10.1
  ProcVersionSignature: Ubuntu 6.11.0-1004.4-raspi 6.11.0
  Uname: Linux 6.11.0-1004-raspi aarch64
  ApportVersion: 2.30.0-0ubuntu4
  AptOrdering:
   libmalcontent-0-0:arm64: Install
   libostree-1-1:arm64: Install
   flatpak:arm64: Install
   NULL: ConfigurePending
  Architecture: arm64
  CasperMD5CheckResult: unknown
  CloudArchitecture: aarch64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: config-disk (/dev/nvme0n1p1)
  Date: Thu Dec 26 08:22:32 2024
  ErrorMessage: installed flash-kernel package post-installation script subprocess returned error exit status 1
  ImageMediaBuild: 20241007.1
  Python3Details: /usr/bin/python3.12, Python 3.12.7, python3-minimal, 3.12.6-0ubuntu1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.22.11ubuntu1
   apt  2.9.8
  SourcePackage: flash-kernel
  Title: package flash-kernel 3.107ubuntu13~24.10.1 failed to install/upgrade: installed flash-kernel package post-installation script subprocess returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list