Linux headers

kloy

Renowned Member
Jan 9, 2012
10
0
66
hello,

This morning, i tried to dist-upgrade my proxmox VE 5.2 box and i got the following issue :

Setting up pve-kernel-4.15.18-4-pve (4.15.18-23) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.18-4-pve /boot/vmlinuz-4.15.18-4-pve
run-parts: executing /etc/kernel/postinst.d/dkms 4.15.18-4-pve /boot/vmlinuz-4.15.18-4-pve
dkms: WARNING: Linux headers are missing, which may explain the above failures.
please install the linux-headers-4.15.18-4-pve package to fix this.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.18-4-pve /boot/vmlinuz-4.15.18-4-pve
update-initramfs: Generating /boot/initrd.img-4.15.18-4-pve

and it freeze

But no linux-headers-4.15.18-4-pve file available on repo
http://download.proxmox.com/debian/pve/dists/stretch/pvetest/binary-amd64/
nor in
http://download.proxmox.com/debian/pve/dists/stretch/pve-no-subscription/binary-amd64/

What can a do to regain access to my server ?
 
install the 'pve-headers' package
 
Thanks a lot for helping me...

i stopped the install, downloaded ...
http://download.proxmox.com/debian/...ve-headers-4.15.18-4-pve_4.15.18-23_amd64.deb

installed it running
dpkg -i pve-headers-4.15.18-4-pve_4.15.18-23_amd64.deb
-> Ok


it ask me to run dpkg --configure -a

Setting up initramfs-tools (0.130) ...
update-initramfs: deferring update (trigger activated)
Setting up pve-kernel-4.15.18-4-pve (4.15.18-23) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.18-4-pve /boot/vmlinuz-4.15.18-4-pve
run-parts: executing /etc/kernel/postinst.d/dkms 4.15.18-4-pve /boot/vmlinuz-4.15.18-4-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.18-4-pve /boot/vmlinuz-4.15.18-4-pve
update-initramfs: Generating /boot/initrd.img-4.15.18-4-pve

and it keeps freezing (i've waited more than 5 Minutes), no prompt

Any idea ?
 
Thanks a lot for helping me...

i stopped the install, downloaded ...
http://download.proxmox.com/debian/...ve-headers-4.15.18-4-pve_4.15.18-23_amd64.deb

installed it running
dpkg -i pve-headers-4.15.18-4-pve_4.15.18-23_amd64.deb
-> Ok


it ask me to run dpkg --configure -a

Setting up initramfs-tools (0.130) ...
update-initramfs: deferring update (trigger activated)
Setting up pve-kernel-4.15.18-4-pve (4.15.18-23) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.18-4-pve /boot/vmlinuz-4.15.18-4-pve
run-parts: executing /etc/kernel/postinst.d/dkms 4.15.18-4-pve /boot/vmlinuz-4.15.18-4-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.18-4-pve /boot/vmlinuz-4.15.18-4-pve
update-initramfs: Generating /boot/initrd.img-4.15.18-4-pve

and it keeps freezing (i've waited more than 5 Minutes), no prompt

Any idea ?

check the logs and or running processes to find out where it hangs..
 

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!