[SOLVED] Help needed to install Malwarebytes agent on proxmox 7.4-3. Kernel headers issue

kumarullal

Renowned Member
Jun 17, 2009
184
0
81
LA, USA
I did apt-get upgrade
and apt-get dist-upgrade
Since I did apt-get dist-upgrade today, I must have installed the latest kernel as of today. Insted, this is what I am getting.
uname -r
5.15.30-2-pve
Installed kernel headers by issuing command :
apt install pve-headers-5.15.30-2-pve

However, the linux agent didnt get installed.

When I did some digging, this is what I found
dpkg -l | grep 5.15.30

out put is this :

ii pve-headers-5.15.30-2-pve 5.15.30-3 amd64 The Proxmox PVE Kernel Headers
ii pve-kernel-5.15.30-2-pve 5.15.30-3 amd64 The Proxmox PVE Kernel Image

Why 5.15.30-3 ??

Also when I ran:
pveversion -v
proxmox-ve: 7.4-1 (running kernel: 5.15.30-2-pve)
pve-manager: 7.4-3 (running version: 7.4-3/9002ab8a)
pve-kernel-5.15: 7.3-3
pve-kernel-5.15.102-1-pve: 5.15.102-1
pve-kernel-5.15.85-1-pve: 5.15.85-1
pve-kernel-5.15.30-2-pve: 5.15.30-3
......

What am I doing wrong?

Thanks in advance.
 
If you did not install the PVE kernel headers, using apt install pve-headers will install pve-headers-5.15 and the headers for the latest 5.15. kernel. Since you are running the oldest kernel that is installed, use apt install pve-headers-5.15.30-2-pve to install the Linux kernel headers that match that kernel version.
 
Hi @leesteken
Thanks for your reply. I have used
Code:
apt install pve-headers-5.15.30-2-pve
PVE headers and PVE Kernel headers both show pve-headers-5.15.30-2-pve 5.15.30-3
I have not restarted the server after dist-upgrade and installing Kernel headers. Would that make any difference?
 
I have not restarted the server after dist-upgrade and installing Kernel headers. Would that make any difference?
Unless you make sure it boots the same old kernel, Proxmox will probably boot the latest kernel version you have installed. And then you'll have to install the headers for that kernel version and build the software for that kernel version and reboot again.
 

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!