When updating (apt upgrade) this morning I did get this information:
The following package was automatically installed and is no longer required:
linux-image-6.12.57+deb13-amd64
Use 'apt autoremove' to remove it.
Upgrading:
base-files exfatprogs intel-microcode libc6 libcom-err2 libgnutls30t64 linux-image-amd64 rsync
bash gpg libc-bin libcap2 libext2fs2t64 libmbedcrypto16 locales sqv
e2fsprogs gpgconf libc-l10n libcap2-bin libglib2.0-0t64 libss2 logsave
Installing dependencies:
linux-image-6.12.63+deb13-amd64
Suggested packages:
firmware-linux-free linux-doc-6.12 debian-kernel-handbook
Recommended packages:
apparmor
Summary:
Upgrading: 23, Installing: 1, Removing: 0, Not Upgrading: 0
Download size: 136 MB
Space needed: 167 MB / 503 GB available
When using apt autoremov this warning came up:
REMOVING:
linux-image-6.12.57+deb13-amd64
Summary:
Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
Freed space: 111 MB
Continue? [Y/n]
│
│ You are running a kernel (version 6.12.57+deb13-amd64) and attempting to remove the same version. │
│ │
│ This can make the system unbootable as it will remove /boot/vmlinuz-6.12.57+deb13-amd64 and all modules under │
│ the directory /lib/modules/6.12.57+deb13-amd64. This can only be fixed with a copy of the kernel image and the │
│ corresponding modules. │
│ │
│ It is highly recommended to abort the kernel removal unless you are prepared to fix the system after removal. │
│ │
│ Abort kernel removal?
On one hand the process tells me it linux-image-6.12.57+deb13-amd64 is no longer needed and on other hands it tells me that it is not a good idea to remove it.