Notes to Self

Alex Sokolsky's Notes on Computers and Programming

Old Kernels Cleanup

pve-kernel

From the forum post:

linux-image

Somehow linux-image packages made it into my proxmox install:

root@duo:/# dpkg --list|grep pve-kernel.*-pve
ii  pve-kernel-5.15.30-2-pve             5.15.30-3                              amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-5.15.35-1-pve             5.15.35-2                              amd64        The Proxmox PVE Kernel Image
root@duo:/# uname -a
Linux duo 5.15.30-2-pve #1 SMP PVE 5.15.30-3 (Fri, 22 Apr 2022 18:08:27 +0200) x86_64 GNU/Linux
root@duo:/# dpkg -l|grep linux-image
linux-image-5.10.0-10-amd64
linux-image-5.10.0-11-amd64
linux-image-5.10.0-12-amd64
linux-image-5.10.0-13-amd64
linux-image-5.10.0-14-amd64
linux-image-5.10.0-8-amd64
linux-image-5.10.0-9-amd64
linux-image-amd64
root@duo:/# uname -a
Linux duo 5.15.30-2-pve #1 SMP PVE 5.15.30-3 (Fri, 22 Apr 2022 18:08:27 +0200) x86_64 GNU/Linux

In this case:

apt purge linux-image-5.10.0-14-amd64
update-grub2