Wrong version in proxmox-default-headers (2.0.1 instead of 6.17.xx)

edocod

Member
Feb 15, 2021
10
0
21
28
Hi everyone!
I am trying to install bcachefs dkms module. It is provided as a normal dkms module, so i expected it to work fine.
It worked fine on my test debian machine, however when trying to install it on my PBS, i get the following error:

Code:
root@pbs:~# apt install bcachefs-kernel-dkms
Solving dependencies... Error! 
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 bcachefs-kernel-dkms : Depends: linux-headers-generic (>= 6.16) or
                                 pve-headers (>= 6.16) or
                                 linux-headers-amd64 (>= 6.16) or
                                 linux-headers-cloud-amd64 (>= 6.16) but it is not going to be installed or
                                 linux-headers-rt-amd64 (>= 6.16) but it is not going to be installed
Error: Unable to correct problems, you have held broken packages.
Error: The following information from --solver 3.0 may provide additional context:
   Unable to satisfy dependencies. Reached two conflicting decisions:
   1. bcachefs-kernel-dkms:amd64=1:1.33.4~20251227224907.gbp3a9e24 is selected for install
   2. bcachefs-kernel-dkms:amd64 Depends linux-headers-generic (>= 6.16) | pve-headers (>= 6.16) | linux-headers-amd64 (>= 6.16) | linux-headers-cloud-amd64 (>= 6.16) | linux-headers-rt-amd64 (>= 6.16)
      but none of the choices are installable:
      [no choices]

So, i checked the version of my pve-headers and it looks like it's reported as 2.0.1.

Code:
# apt show proxmox-default-headers
Package: proxmox-default-headers
Version: 2.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.17

I am not 100% familiar with Debian packaging, and i don't know if it's supposed to be at that version. However, when cross checking the vanilla package:

Code:
root@pbs-home:~# apt show linux-headers-amd64
Package: linux-headers-amd64
Version: 6.12.57-1

And indeed it shows the version of the headers it will install.
A quick search in the standard repositories also shows that other packages track the version of the kernel they depend on.

So, is this supposed to happen? Is 2.0.1 an oversight or is there a reason for it to be set differently than what Debian does?

Thanks!
 
The version number of the package has no meaning here.
Code:
# apt show -a proxmox-default-headers
Package: proxmox-default-headers
Version: 2.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.17
Download-Size: 1,884 B
APT-Manual-Installed: no
APT-Sources: http://download.proxmox.com/debian/pve trixie/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-default-headers
Version: 2.0.0
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.14
Download-Size: 1,860 B
APT-Sources: http://download.proxmox.com/debian/pve trixie/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.
The important parts are Depends: proxmox-headers-6.17 and Depends: proxmox-headers-6.14. PVE uses a custom ubuntu kernel, by the way.
 
Last edited: