[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1102690: marked as done (A higher version (...) is still installed, no reflashing required)



Your message dated Mon, 12 Jan 2026 16:33:22 +0000
with message-id <E1vfKr4-0000000EOqN-3OFb@fasolo.debian.org>
and subject line Bug#1102690: fixed in flash-kernel 3.110
has caused the Debian Bug report #1102690,
regarding A higher version (...) is still installed, no reflashing required
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1102690: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102690
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: flash-kernel
Version: 3.109+reform1
Severity: serious

Hi Vagrant,

sorry for another RC bug but had I not seen this message it would've rendered
my system unbootable. The summary is, that I installed a newer kernel, then
rebooted, then removed the old kernel. Had I not paid attention, my system
would've become unbootable because flash-kernel decided not to update my
/boot/boot.scr for the new kernel version. Here are some hopefully relevant
bits from my upgrade/reboot/removal process:

$ apt-cache policy linux-image-arm64
linux-image-arm64:
  Installed: 6.12.19-1+reform20250322T135019Z
  Candidate: 6.12.22-1+reform20250411T222458Z
  Version table:
     6.12.22-1+reform20250411T222458Z 990
        990 https://source.mnt.re/reform/reform-debian-packages/-/jobs/8626/artifacts/raw/repo reform/main arm64 Packages
     6.12.22-1+reform20250411T055815Z 990
        990 https://mntre.com/reform-debian-repo reform/main arm64 Packages
     6.12.22-1 500
        500 http://deb.debian.org/debian unstable/main arm64 Packages
     6.12.21-1 500
        500 http://deb.debian.org/debian testing/main arm64 Packages
 *** 6.12.19-1+reform20250322T135019Z 100
        100 /var/lib/dpkg/status
$ sudo apt full-upgrade
[...]
Removing linux-headers-6.12.16-mnt-reform-arm64 (6.12.16-1+reform20250219T175041Z) ...
Removing linux-image-6.12.16-mnt-reform-arm64 (6.12.16-1+reform20250219T175041Z) ...
/etc/kernel/prerm.d/dkms:                                                       
dkms: removing module reform2_lpc/1.68 for kernel 6.12.16-mnt-reform-arm64 (aarch64)
Module reform2_lpc/1.68 for kernel 6.12.16-mnt-reform-arm64 (aarch64):          
Before uninstall, this module version was ACTIVE on this kernel.                
Deleting /lib/modules/6.12.16-mnt-reform-arm64/updates/dkms/reform2_lpc.ko.xz   
                                                                                
Running depmod... done.                                                         
/etc/kernel/postrm.d/initramfs-tools:                                           
update-initramfs: Deleting /boot/initrd.img-6.12.16-mnt-reform-arm64            
/etc/kernel/postrm.d/zz-flash-kernel:                                           
Using DTB: amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb                      
flash-kernel: Kernel 6.12.16-mnt-reform-arm64 has been removed.                 
flash-kernel: A higher version (6.12.19-mnt-reform-arm64) is still installed, no reflashing required.
[...]

Setting up linux-image-6.12.22-mnt-reform-arm64 (6.12.22-1+reform20250411T222458Z) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.12.19-mnt-reform-arm64       
I: /initrd.img.old is now a symlink to boot/initrd.img-6.12.19-mnt-reform-arm64 
I: /vmlinuz is now a symlink to boot/vmlinuz-6.12.22-mnt-reform-arm64           
I: /initrd.img is now a symlink to boot/initrd.img-6.12.22-mnt-reform-arm64     
/etc/kernel/postinst.d/initramfs-tools:                                         
update-initramfs: Generating /boot/initrd.img-6.12.22-mnt-reform-arm64          
Using DTB: amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb                      
Installing /usr/lib/linux-image-6.12.22-mnt-reform-arm64/amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb into /boot/dtbs/6.12.22-mnt-reform-arm64/amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb
Installing new meson-g12b-bananapi-cm4-mnt-reform2.dtb.                         
Installing /usr/lib/linux-image-6.12.22-mnt-reform-arm64/amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb into /boot/dtbs/6.12.22-mnt-reform-arm64/amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb
Taking backup of meson-g12b-bananapi-cm4-mnt-reform2.dtb.                       
Installing new meson-g12b-bananapi-cm4-mnt-reform2.dtb.                         
flash-kernel: deferring update (trigger activated)                              
/etc/kernel/postinst.d/zz-flash-kernel:                                         
Using DTB: amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb                      
Installing /usr/lib/linux-image-6.12.22-mnt-reform-arm64/amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb into /boot/dtbs/6.12.22-mnt-reform-arm64/amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb
Taking backup of meson-g12b-bananapi-cm4-mnt-reform2.dtb.                       
Installing new meson-g12b-bananapi-cm4-mnt-reform2.dtb.                         
Installing /usr/lib/linux-image-6.12.22-mnt-reform-arm64/amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb into /boot/dtbs/6.12.22-mnt-reform-arm64/amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb
Taking backup of meson-g12b-bananapi-cm4-mnt-reform2.dtb.                       
Installing new meson-g12b-bananapi-cm4-mnt-reform2.dtb.                         
flash-kernel: deferring update (trigger activated)                              

[...]

Setting up flash-kernel (3.109+reform1) ...

[...]


===========================================
                 REBOOT
===========================================


$ uname -a
Linux kodi 6.12.19-mnt-reform-arm64 #1 SMP Debian 6.12.19-1+reform20250322T135019Z (2025-03-22) aarch64 GNU/Linux
$ apt-cache policy linux-image-arm64
linux-image-arm64:
  Installed: 6.12.22-1+reform20250411T222458Z
  Candidate: 6.12.22-1+reform20250411T222458Z
  Version table:
 *** 6.12.22-1+reform20250411T222458Z 990
        990 https://source.mnt.re/reform/reform-debian-packages/-/jobs/8626/artifacts/raw/repo reform/main arm64 Packages
        100 /var/lib/dpkg/status
     6.12.22-1+reform20250411T055815Z 990
        990 https://mntre.com/reform-debian-repo reform/main arm64 Packages
     6.12.22-1 500
        500 http://deb.debian.org/debian unstable/main arm64 Packages
     6.12.21-1 500
        500 http://deb.debian.org/debian testing/main arm64 Packages
$ dpkg -l | grep linux-image
ii  linux-image-6.12.17-mnt-reform-arm64   6.12.17-1+reform20250303T085515Z     arm64        Linux 6.12 for 64-bit ARMv8 machines (MNT Reform)
ii  linux-image-6.12.19-mnt-reform-arm64   6.12.19-1+reform20250322T135019Z     arm64        Linux 6.12 for 64-bit ARMv8 machines (MNT Reform)
ii  linux-image-6.12.22-mnt-reform-arm64   6.12.22-1+reform20250411T222458Z     arm64        Linux 6.12 for 64-bit ARMv8 machines (MNT Reform)
ii  linux-image-arm64                      6.12.22-1+reform20250411T222458Z     arm64        Linux for 64-bit ARMv8 machines (MNT Reform) (meta-meta-package)
ii  linux-image-mnt-reform-arm64           6.12.22-1+reform20250411T222458Z     arm64        Linux for 64-bit ARMv8 machines (MNT Reform) (meta-package)
$ sudo apt remove linux-image-6.12.19-mnt-reform-arm64 linux-headers-6.12.19-mnt-reform-arm64
[...]
/etc/kernel/postrm.d/zz-flash-kernel:
Using DTB: amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb
flash-kernel: Kernel 6.12.19-mnt-reform-arm64 has been removed.
flash-kernel: A higher version (6.12.22-mnt-reform-arm64) is still installed, no reflashing required.
$ grep -a 6.12.19 /boot/boot.scr
   setenv fk_kvers '6.12.19-mnt-reform-arm64'
$ sudo flash-kernel
Using DTB: amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb
Installing /usr/lib/linux-image-6.12.22-mnt-reform-arm64/amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb into /boot/dtbs/6.12.22-mnt-reform-arm64/amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb
Taking backup of meson-g12b-bananapi-cm4-mnt-reform2.dtb.
Installing new meson-g12b-bananapi-cm4-mnt-reform2.dtb.
flash-kernel: installing version 6.12.22-mnt-reform-arm64
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
$ grep -a 6.12.22 /boot/boot.scr
   setenv fk_kvers '6.12.22-mnt-reform-arm64'


Luckily, running flash-kernel manually fixed the issue. But had I not noticed
that /boot/boot.scr still contained a version of a kernel that I had just
removed, my system would've become unbootable.

This problem occurred with a patched flash-kernel but you know that we only
patch the machines file with more entries and do not patch the scripts:
https://source.mnt.re/reform/reform-debian-packages/-/blob/main/patches/flash-kernel

Thanks!

cheers, josch

--- End Message ---
--- Begin Message ---
Source: flash-kernel
Source-Version: 3.110
Done: Ben Hutchings <benh@debian.org>

We believe that the bug you reported is fixed in the latest version of
flash-kernel, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1102690@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <benh@debian.org> (supplier of updated flash-kernel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 12 Jan 2026 17:10:12 +0100
Source: flash-kernel
Architecture: source
Version: 3.110
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Ben Hutchings <benh@debian.org>
Closes: 1102690 1125327
Changes:
 flash-kernel (3.110) unstable; urgency=medium
 .
   [ Ben Hutchings ]
   * Team upload
 .
   [ Holger Wansing ]
   * Change d/copyright, to remove FSF's (outdated) postal address.
 .
   [ Johannes Schauer Marin Rodrigues ]
   * db/all.db: add MNT Reform 2 with BPI-CM4 Module
   * Run find with -H because /usr/lib/linux-image-$kvers might be a symlink
     (Closes: #1125327)
 .
   [ Dave Jones ]
   * Always run flash-kernel
   * Avoid a double run of handle_dtb and --force with no kvers
     (Closes: #1102690)
   * Defer if selected kernel is not fully "installed"
 .
   [ D-I role ]
   * [l10n]  Commit changed/added po files (from l10n-sync run at dillon)
Checksums-Sha1:
 a29632968b0cced71c0c72c6c839b1d537af390d 1913 flash-kernel_3.110.dsc
 04f348fd6fdf543e694ec5f187a05d3f6d9aa9e7 79316 flash-kernel_3.110.tar.xz
 42385438876841f0fe7f1c102b82303ce3670e56 6365 flash-kernel_3.110_source.buildinfo
Checksums-Sha256:
 6dfb92e1a0ce4ab015b541de46ad78c0e340a04a36141515da00dee8625cebcc 1913 flash-kernel_3.110.dsc
 edaac8a04a6bba6ee1b2127d93508bf8fff4f921b5821ece3504573652936ecf 79316 flash-kernel_3.110.tar.xz
 6cf9b39b818e5d1bb7472370eb83510664ee93366cf295060a5b63d30fba737c 6365 flash-kernel_3.110_source.buildinfo
Files:
 7d70d7e21e82418a20010b66d8133394 1913 utils optional flash-kernel_3.110.dsc
 f0895e8e02cb82d42721a58066faef8e 79316 utils optional flash-kernel_3.110.tar.xz
 0a2d46fbd9ef4f492a2e2ccdd30f2a25 6365 utils optional flash-kernel_3.110_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmllHeYACgkQ57/I7JWG
EQlmHg//cTNHDM4Fb7zy1n54L33ZYrS4XSwJAKL7Jf/rfz7TCNFs9cO3zxguXy7s
T3pcBrxZTwo4RDY4eI1yHCxQ5Nq2VDIeZhjiyF7ta0B9YOzfvdgL+yYRLHRnA1C0
GlJ+u36FsNnP0Uu5XIOKvRYHJ6x0AUSLY973z73gU6vCDSvAsvJXYWMiV13NBFd3
u0/0/pdgszV9J8WMerYLgDr/7FcJo5Sf+5MJFDdIclJDjtivnDjous367PSb5e4c
oO3GqP3yGxV7+rOxmooJxsIK6U0DewYeUp5II8NItuCWF62tGLX6lYogOeXaaS82
ThfCKKCmAVNk6CvJfzrVovy7h8rMHq3coS5f28pXDHi1whSc435e6dywAZ8uQsx+
88Y5GwtnVAh2CDU7L/Kycj9ObbPvFA/FTDIri8OUDZyPbTd5E+MbKAUHHrtk88uO
p+2AclX9NchumoYeNIHzpIyQWDjJ427bCJbMpGmoC+6FKgLo1Bl3ZHyRpa5G5JLH
liI3vTvr/0iNHJ0cujEVM8V2gL3uo3Fh8S9uRHM2RAWwv59qioiEGqwdhhssmXRS
5V2pSk/TyBahmVOHGoj4pR3kKgpc07sIopJhupuVl91/80T2VnKyW9ewdLrV5hKp
2SZgAua5I5wrzO9lLXeYlW7M3sMuV89QSdAP67VQ9l57pI5a5Rs=
=Qly7
-----END PGP SIGNATURE-----

Attachment: pgpjU7uXeqoNu.pgp
Description: PGP signature


--- End Message ---

Reply to: