I do not think I had an error. Here is the log left after the update:
# cat /var/log/apt/history.log
Start-Date: 2024-10-06 12:10:19
Commandline: apt upgrade
Install: linux-image-6.1.0-26-amd64:amd64 (6.1.112-1, automatic)
Upgrade: libcurl4:amd64 (7.88.1-10+deb12u6, 7.88.1-10+deb12u7), initramfs-tools-core:amd64 (0.142, 0.142+deb12u1), udev:amd64 (252.26-1~deb12u2, 252.30-1~deb12u2), python3.11:amd64 (3.11.2-6+deb12u2, 3.11.2-6+deb12u3), libcurl3-gnutls:amd64 (7.88.1-10+deb12u6, 7.88.1-10+deb12u7), libpam-systemd:amd64 (252.26-1~deb12u2, 252.30-1~deb12u2), libexpat1:amd64 (2.5.0-1, 2.5.0-1+deb12u1), zabbix-agent:amd64 (1:7.0.2-1+debian12, 1:7.0.4-1+debian12), libsystemd0:amd64 (252.26-1~deb12u2, 252.30-1~deb12u2), libnss-systemd:amd64 (252.26-1~deb12u2, 252.30-1~deb12u2), squidclient:amd64 (5.7-2+deb12u1, 5.7-2+deb12u2), libpython3.11-minimal:amd64 (3.11.2-6+deb12u2, 3.11.2-6+deb12u3), php8.2-opcache:amd64 (8.2.20-1~deb12u1, 8.2.24-1~deb12u1), squid-common:amd64 (5.7-2+deb12u1, 5.7-2+deb12u2), systemd:amd64 (252.26-1~deb12u2, 252.30-1~deb12u2), libudev1:amd64 (252.26-1~deb12u2, 252.30-1~deb12u2), php8.2-readline:amd64 (8.2.20-1~deb12u1, 8.2.24-1~deb12u1), libc6:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), locales:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), libssl3:amd64 (3.0.13-1~deb12u1, 3.0.14-1~deb12u2), squid-openssl:amd64 (5.7-2+deb12u1, 5.7-2+deb12u2), linux-image-amd64:amd64 (6.1.99-1, 6.1.112-1), shim-helpers-amd64-signed:amd64 (1+15.7+1, 1+15.8+1~deb12u1), base-files:amd64 (12.4+deb12u6, 12.4+deb12u7), libpython3.11-stdlib:amd64 (3.11.2-6+deb12u2, 3.11.2-6+deb12u3), libc-l10n:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), python3.11-minimal:amd64 (3.11.2-6+deb12u2, 3.11.2-6+deb12u3), libc-bin:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), libsystemd-shared:amd64 (252.26-1~deb12u2, 252.30-1~deb12u2), initramfs-tools:amd64 (0.142, 0.142+deb12u1), systemd-sysv:amd64 (252.26-1~deb12u2, 252.30-1~deb12u2), php8.2-cli:amd64 (8.2.20-1~deb12u1, 8.2.24-1~deb12u1), php8.2-common:amd64 (8.2.20-1~deb12u1, 8.2.24-1~deb12u1), shim-signed:amd64 (1.39+15.7-1, 1.44~1+deb12u1+15.8-1~deb12u1), shim-signed-common:amd64 (1.39+15.7-1, 1.44~1+deb12u1+15.8-1~deb12u1), shim-unsigned:amd64 (15.7-1, 15.8-1~deb12u1), openssl:amd64 (3.0.13-1~deb12u1, 3.0.14-1~deb12u2)
End-Date: 2024-10-06 12:13:44
Start-Date: 2024-10-06 12:13:49
Commandline: apt autoremove
Remove: linux-image-6.1.0-22-amd64:amd64 (6.1.94-1)
End-Date: 2024-10-06 12:14:06
The boot partition is part of / and has plenty of space
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.7G 0 7.7G 0% /dev
tmpfs 1.6G 936K 1.6G 1% /run
/dev/sda2 1.8T 13G 1.7T 1% /
tmpfs 7.7G 12K 7.7G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda1 511M 5.9M 506M 2% /boot/efi
tmpfs 1.6G 0 1.6G 0% /run/user/0
I have left installed with 6.1.0-23 and 6.1.0-26:
# dpkg -l | grep ii | grep linux-image
ii linux-image-6.1.0-23-amd64 6.1.99-1 amd64 Linux 6.1 for 64-bit PCs (signed)
ii linux-image-6.1.0-26-amd64 6.1.112-1 amd64 Linux 6.1 for 64-bit PCs (signed)
ii linux-image-amd64 6.1.112-1 amd64 Linux for 64-bit PCs (meta-package)
I recreated the initrd:
# update-initramfs -c -k 6.1.0-26-amd64
update-initramfs: Generating /boot/initrd.img-6.1.0-26-amd64
W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg357766.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3
After reboot the same kernel panic appears. So probably the problem is not with broken file during the package installation.