How much kernel does PMG keep ?

bougatoyta

Member
Jun 8, 2021
71
7
13
34
Hi,

I just noticed that one of my PMG has a some old kernel :

Code:
apt list --installed | grep pve-kernel

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

pve-kernel-5.3.18-1-pve/stable,now 5.3.18-1 amd64  [installé, automatique]
pve-kernel-5.3.18-3-pve/stable,now 5.3.18-3 amd64  [installé, automatique]
pve-kernel-5.3/stable,now 6.1-6 all  [installé, automatique]
pve-kernel-5.4.119-1-pve/stable,now 5.4.119-1 amd64  [installé, automatique]
pve-kernel-5.4.174-2-pve/stable,now 5.4.174-2 amd64  [installé, automatique]
pve-kernel-5.4.30-1-pve/stable,now 5.4.30-1 amd64  [installé, automatique]
pve-kernel-5.4/stable,now 6.4-15 all  [installé, automatique]
pve-kernel-helper/stable,now 6.4-15 all  [installé, automatique]

I think 5.3 can be removed but it is not taken by apt autoremove so I wanted to ask if it was safe to remove or if PMG is kinda using both kernel ?

Regards
 
I think 5.3 can be removed but it is not taken by apt autoremove so I wanted to ask if it was safe to remove or if PMG is kinda using both kernel ?

yes they can be removed (check which kernel you're currently running (`pmgversion -v`, `uname -a`)

They are not autoremoved because there's still an old left-over config file there : see https://bugzilla.proxmox.com/show_bug.cgi?id=3915

I hope this helps!
 

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!