How much kernel does PMG keep ?

bougatoyta

Member
Jun 8, 2021
71
7
13
35
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!