Proxmox 8.1.4 - Kernel Update 6.5.11-8-pve

gb00s

Well-Known Member
Aug 4, 2017
34
2
48
44
Hi, I already recognized while updating to 6.5.11-7-pve some weeks ago, that pve-headers are not installed automatically like in the past. This causes a lot of hiccups with modules that shall be rebuild automatically via dkms. I have to upgrade pve-headers manually and then always rebuild the the modules. Is there anything I have missed in the past that prevents upgrading the pve-headers while the pve-kernel is being upgraded?

Thanks.
 
Hi,
please share the output of apt show pve-headers proxmox-default-headers proxmox-headers-6.5. Where there any errors during the upgrade? You can check /var/log/apt/term.log to make sure.
 
Hi, that's the output below. Also, there were no errors. It's just that drivers etc ar eno longer loaded because the modules 'do not work' anymore after kernel upgrade.

bb8@pv:~$ sudo apt show pve-headers proxmox-default-headers proxmox-headers-6.5
Package: pve-headers
Version: 8.1.0
Priority: optional
Section: oldlibs
Source: proxmox-ve
Maintainer: Proxmox Support Team <support@proxmox.com>
Installed-Size: 9,216 B
Depends: proxmox-default-headers
Homepage: https://www.proxmox.com
Download-Size: 2,608 B
APT-Manual-Installed: yes
APT-Sources: http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
Description: Default Proxmox Kernel Headers (transitional package)
This is a dummy transitional package to transition to proxmox-default-headers.
It can be safely removed.

Package: proxmox-default-headers
Version: 1.0.1
Priority: optional
Section: admin
Source: proxmox-kernel-meta
Maintainer: Proxmox Support Team <support@proxmox.com>
Installed-Size: 8,192 B
Provides: pve-headers
Depends: proxmox-headers-6.5
Download-Size: 1,808 B
APT-Manual-Installed: no
APT-Sources: http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
Description: Default Proxmox Kernel Headers
This is a metapackage which will install the kernel headers for the default
Proxmox kernel series.

Package: proxmox-headers-6.5
Version: 6.5.11-8
Priority: optional
Section: admin
Source: proxmox-kernel-6.5
Maintainer: Proxmox Support Team <support@proxmox.com>
Installed-Size: 17.4 kB
Provides: linux-headers-amd64, linux-headers-generic, pve-headers-6.5
Depends: proxmox-headers-6.5.11-8-pve
Replaces: pve-headers-6.5
Download-Size: 9,248 B
APT-Manual-Installed: no
APT-Sources: http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages
Description: Latest Proxmox Kernel Headers
This is a metapackage which will install the kernel headers
for the latest available proxmox kernel from the 6.5
series.

N: There are 12 additional records. Please use the '-a' switch to see them.
 
What about dpkg --status pve-headers proxmox-default-headers proxmox-headers-6.5 proxmox-headers-6.5.11-8-pve
 
Of course ....

bb8@pv:~$ dpkg --status pve-headers proxmox-default-headers proxmox-headers-6.5 proxmox-headers-6.5.11-8-pve
Package: pve-headers
Status: install ok installed
Priority: optional
Section: oldlibs
Installed-Size: 9
Maintainer: Proxmox Support Team <support@proxmox.com>
Architecture: all
Source: proxmox-ve
Version: 8.1.0
Depends: proxmox-default-headers
Description: Default Proxmox Kernel Headers (transitional package)
This is a dummy transitional package to transition to proxmox-default-headers.
It can be safely removed.
Homepage: https://www.proxmox.com

Package: proxmox-default-headers
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 8
Maintainer: Proxmox Support Team <support@proxmox.com>
Architecture: all
Source: proxmox-kernel-meta
Version: 1.0.1
Provides: pve-headers
Depends: proxmox-headers-6.5
Description: Default Proxmox Kernel Headers
This is a metapackage which will install the kernel headers for the default
Proxmox kernel series.

Package: proxmox-headers-6.5
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 17
Maintainer: Proxmox Support Team <support@proxmox.com>
Architecture: all
Source: proxmox-kernel-6.5
Version: 6.5.11-8
Replaces: pve-headers-6.5
Provides: linux-headers-amd64, linux-headers-generic, pve-headers-6.5
Depends: proxmox-headers-6.5.11-8-pve
Description: Latest Proxmox Kernel Headers
This is a metapackage which will install the kernel headers
for the latest available proxmox kernel from the 6.5
series.

Package: proxmox-headers-6.5.11-8-pve
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 92140
Maintainer: Proxmox Support Team <support@proxmox.com>
Architecture: amd64
Source: proxmox-kernel-6.5
Version: 6.5.11-8
Provides: linux-headers-6.5.11-8-pve-amd64, pve-headers-6.5.11-8-pve
Description: Proxmox Kernel Headers
This package contains the linux kernel headers
bb8@pv:~$
 
So all relevant packages are installed. proxmox-headers-6.5.11-8-pve is the latest package for kernel headers and each new version of proxmox-headers-6.5 will depend on the latest headers for kernel 6.5, so they will be automatically installed as a dependency during upgrade. What is the issue?
 
The issue has been described in the initial post.
What is the issue?
Once I update the kernel, e.g. to 6...11-8, then the respective headers are not installed automatically. You see them in the outputs above because I had to manually install the headers. I have this issue for the last 4-5 kernel updates. Rebuilding modules with dkms doesn't even start automatically, which it did in the past. This causes a lot of trouble if I reboot the machine and forget to update the headers manually. Zpools are not starting etc ...
 
Was proxmox-default-headers installed at the time or did you also only install that recently? Because it depends on proxmox-headers-6.5 which in turn depends on proxmox-headers-6.5.11-8-pve (and will depend on the new headers package after the next kernel is released) so I really don't see how it couldn't have been installed except if there were errors during apt dist-upgrade. You can check /var/log/apt/history.log and /var/log/apt/term.log.
 
Don't know what to say, but are reporting now that the same issue occurred with the kernel update to 6.5.13-x. Again, pve-headers are not installed alongside the kernel automatically and building modules fail. Need to install pve-headers manually again. I don't even consider it an issue that this Proxmox was installed on top of Debian. It shouldn't be a problem. No linux-headers/kernel images are on this system anymore.

It's frustrating as it forces constant manual intervention. Shouldn't ....
 
So do you have
Code:
proxmox-default-headers
installed or not?

=>
Code:
apt install proxmox-default-headers
 
Don't know what to say, but are reporting now that the same issue occurred with the kernel update to 6.5.13-x. Again, pve-headers are not installed alongside the kernel automatically and building modules fail. Need to install pve-headers manually again. I don't even consider it an issue that this Proxmox was installed on top of Debian. It shouldn't be a problem. No linux-headers/kernel images are on this system anymore.

It's frustrating as it forces constant manual intervention. Shouldn't ....
Taking a shot in the dark, but pve-headers are no longer what you need. I think that was deprecated somewhere in the last year or so. As mentioned above you now need proxmox-default-headers.
 

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!