[SOLVED] Kernel headers for kernel 4.15.18-10-pve cannot be found

Dušan Vejnovič

Active Member
Jan 22, 2019
4
0
41
59
I run fresh update and got error on terminal:
....
Setting up pve-kernel-4.15.18-10-pve (4.15.18-32) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.18-10-pve /boot/vmlinuz-4.15.18-10-pve
run-parts: executing /etc/kernel/postinst.d/dkms 4.15.18-10-pve /boot/vmlinuz-4.15.18-10-pve
Error! Your kernel headers for kernel 4.15.18-10-pve cannot be found.
Please install the linux-headers-4.15.18-10-pve package,
or use the --kernelsourcedir option to tell DKMS where it's located
 
How do you install the 'pve-headers' package???

I take this:

root@pmx1:~# apt install pve-headers -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pve-headers
 
How do you install the 'pve-headers' package???

Please run:

> apt update

Before you install new packages. And post the output here.
 

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!