Understanding Old Kernel for Removal

Nollimox

Member
Mar 9, 2023
271
22
18
So, I did this:
Linux nolliprivatecloud 6.5.11-7-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-7 (2023-12-05T09:44Z) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Dec 12 19:55:59 CST 2023 on pts/0

root@nolliprivatecloud:~# dpkg -l | grep pve-kernel
ii pve-firmware 3.9-1 all Binary firmware code for the pve-kernel
ii pve-kernel-6.2 8.0.5 all Proxmox Kernel Image for 6.2 series (transitional package)
ii pve-kernel-6.2.16-3-pve 6.2.16-3 amd64 Proxmox Kernel Image
root@nolliprivatecloud:~#

And
Screenshot 2023-12-12 at 8.20.30 PM.png

So, why 6.5.11-7 didn't show up when I ran (dpkg -l | grep pve-kernel)? How do I remove both kernel 6.5.11-4 and 6.2.16-20...I take it that the "white space" is kernel 6.5.11-7...
This command also doesn't show that 6.5.11-7 is installed...

root@nolliprivatecloud:~# apt list --installed | grep pve-kernel

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

pve-kernel-6.2.16-3-pve/stable,now 6.2.16-3 amd64 [installed]
pve-kernel-6.2/stable,now 8.0.5 all [installed]
root@nolliprivatecloud:~#
 
Last edited:
This offered more kernel to be remove...
root@nolliprivatecloud:~# apt autoremove --dry-run
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
proxmox-kernel-6.2.16-15-pve proxmox-kernel-6.2.16-19-pve proxmox-kernel-6.5.11-1-pve proxmox-kernel-6.5.11-3-pve proxmox-kernel-6.5.3-1-pve
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
Remv proxmox-kernel-6.2.16-15-pve [6.2.16-15]
Remv proxmox-kernel-6.2.16-19-pve [6.2.16-19]
Remv proxmox-kernel-6.5.11-1-pve [6.5.11-1]
Remv proxmox-kernel-6.5.11-3-pve [6.5.11-3]
Remv proxmox-kernel-6.5.3-1-pve [6.5.3-1]
root@nolliprivatecloud:~#
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!