So I did:
out of the available kernel versions, it only suggests autoremoval of a version *-28, not *-29 or *-30(current).
Code:
sudo apt reinstall linux-image-5.10.0-29-amd64 # one version older kernel than current Bullseye oldstablesudo update-initramfs -uk all ; sudo update-grub
-u Update an existing initramfs
-k version Specify kernel version or 'all'
after reboot, I have tried to install some package: "sudo apt install bpytop".......
Found linux image: /boot/vmlinuz-5.10.0-30-amd64
Found initrd image: /boot/initrd.img-5.10.0-30-amd64
Found linux image: /boot/vmlinuz-5.10.0-29-amd64
Found initrd image: /boot/initrd.img-5.10.0-29-amd64
Found linux image: /boot/vmlinuz-5.10.0-28-amd64
Found initrd image: /boot/initrd.img-5.10.0-28-amd64
Found linux image: /boot/vmlinuz-5.10.0-30-amd64
Found initrd image: /boot/initrd.img-5.10.0-30-amd64
Found linux image: /boot/vmlinuz-5.10.0-29-amd64
Found initrd image: /boot/initrd.img-5.10.0-29-amd64
Found linux image: /boot/vmlinuz-5.10.0-28-amd64
Found initrd image: /boot/initrd.img-5.10.0-28-amd64
out of the available kernel versions, it only suggests autoremoval of a version *-28, not *-29 or *-30(current).
I do not understand what happened, but it seems like it is working, thank you.$ apt search linux-image|grep installed
linux-headers-5.10.0-28-amd64/oldstable,now 5.10.209-2 amd64 [installed,auto-removable]
linux-headers-5.10.0-29-amd64/oldstable-security,oldstable-proposed-updates,now 5.10.216-1 amd64 [installed,automatic]
linux-headers-5.10.0-30-amd64/oldstable-security,oldstable-proposed-updates,now 5.10.218-1 amd64 [installed,automatic]
linux-headers-5.15.0-0.bpo.3-amd64/now 5.15.15-2~bpo11+1 amd64 [installed,local]
linux-image-5.10.0-28-amd64/oldstable,now 5.10.209-2 amd64 [installed,auto-removable]
linux-image-5.10.0-29-amd64/oldstable-security,oldstable-proposed-updates,now 5.10.216-1 amd64 [installed,automatic]
linux-image-5.10.0-30-amd64/oldstable-security,oldstable-proposed-updates,now 5.10.218-1 amd64 [installed,automatic]
linux-image-5.15.0-0.bpo.3-amd64/now 5.15.15-2~bpo11+1 amd64 [installed,local]
linux-image-amd64/oldstable-security,oldstable-proposed-updates,now 5.10.218-1 amd64 [installed]
Statistics: Posted by postcd — 2024-06-26 07:21 — Replies 4 — Views 157