[SOLVED] Help installing "linux-headers" & "linux-headers-generic"

Dunuin

Distinguished Member
Jun 30, 2020
14,418
4,238
243
Germany
Hi,

I need to install the mellanox firmware tools (mft) but for that I need to install "linux-headers" & "linux-headers-generic".

But I get this:
Code:
root@Hypervisor:~/tools/mft/mft-4.16.1-9-x86_64-deb# apt-get install linux-headers linux-headers-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-generic is a virtual package provided by:
  linux-headers-amd64 5.10.13-1~bpo10+1 [Not candidate version]

Package linux-headers is a virtual package provided by:
  pve-headers-5.4.78-2-pve 5.4.78-2
  pve-headers-5.4.78-1-pve 5.4.78-1
  pve-headers-5.4.73-1-pve 5.4.73-1
  pve-headers-5.4.65-1-pve 5.4.65-1
  pve-headers-5.4.60-1-pve 5.4.60-2
  pve-headers-5.4.55-1-pve 5.4.55-1
  pve-headers-5.4.44-2-pve 5.4.44-2
  pve-headers-5.4.44-1-pve 5.4.44-1
  pve-headers-5.4.41-1-pve 5.4.41-1
  pve-headers-5.4.34-1-pve 5.4.34-2
  pve-headers-5.4.30-1-pve 5.4.30-1
  pve-headers-5.4.27-1-pve 5.4.27-1
  pve-headers-5.4.24-1-pve 5.4.24-1
  pve-headers-5.4.22-1-pve 5.4.22-1
  pve-headers-5.3.7-1-pve 5.3.7-1
  pve-headers-5.3.18-3-pve 5.3.18-3
  pve-headers-5.3.18-2-pve 5.3.18-2
  pve-headers-5.3.18-1-pve 5.3.18-1
  pve-headers-5.3.13-3-pve 5.3.13-3
  pve-headers-5.3.13-2-pve 5.3.13-2
  pve-headers-5.3.13-1-pve 5.3.13-1
  pve-headers-5.3.10-1-pve 5.3.10-1
  pve-headers-5.3.1-1-pve 5.3.1-1
  pve-headers-5.0.8-2-pve 5.0.8-2
  pve-headers-5.0.8-1-pve 5.0.8-1
  pve-headers-5.0.21-5-pve 5.0.21-10
  pve-headers-5.0.21-4-pve 5.0.21-9
  pve-headers-5.0.21-3-pve 5.0.21-7
  pve-headers-5.0.21-2-pve 5.0.21-7
  pve-headers-5.0.21-1-pve 5.0.21-2
  pve-headers-5.0.18-1-pve 5.0.18-3
  pve-headers-5.0.15-1-pve 5.0.15-1
  pve-headers-5.0.12-1-pve 5.0.12-1
You should explicitly select one to install.

E: Package 'linux-headers' has no installation candidate
E: Package 'linux-headers-generic' has no installation candidate

What am I supposed to do so it will work with the pve kernel?
 
Hi,
I need to install the mellanox firmware tools (mft) but for that I need to install "linux-headers" & "linux-headers-generic".
Those are the ones from Debian and won't fit with the Proxmox Kernel, so they must be replaced with pve-headers package.

Bash:
apt update
apt install pve-headers
# update, nowdays the package is named proxmox-default-headers:
apt install proxmox-default-headers
 
Last edited:

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!