[SOLVED] pve-headers for PBS?

Klug

Well-Known Member
Jul 24, 2019
72
5
48
52
Hello.

I can seem to find pve-headers in pbs-no-subscription repo.
Is it possible to have it in this repo?

Or should I hadd pve-no-subscription repo and install it like this:
Code:
apt install pve-headers--$(uname -r)
 
Last edited:
They are already there, just install as always:

> apt install pve-headers
 
Well, it can't find it if it's there.

Code:
root@pbs:~# date
Mon 17 May 2021 09:33:11 AM CEST
root@pbs:~# uname -a
Linux pbs.domain.tld 5.4.106-1-pve #1 SMP PVE 5.4.106-1 (Fri, 19 Mar 2021 11:08:47 +0100) x86_64 GNU/Linux
root@pbs:~# apt update
Hit:1 http://repository.veeam.com/backup/linux/agent/dpkg/debian/public stable InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://download.proxmox.com/debian/pbs buster InRelease
Hit:4 http://ftp.fr.debian.org/debian buster InRelease
Get:5 http://ftp.fr.debian.org/debian buster-updates InRelease [51.9 kB]
Fetched 51.9 kB in 1s (38.0 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@pbs:~# apt install pve-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pve-headers
root@pbs:~#
 
Sorry, the command is:

> apt install pve-headers-5.4
 
I am about to do the same (I need wireguard).

In pve I see

Code:
# aptitude search headers | grep ^i
i  pve-headers - Default Proxmox VE Kernel Headers
i A pve-headers-5.4 - Latest Proxmox VE Kernel Headers
i A pve-headers-5.4.119-1-pve - The Proxmox PVE Kernel Headers


while the metapackage
Code:
pve-headers
is missing in
Code:
deb http://download.proxmox.com/debian/pbs buster pbs-no-subscription

I'm fine with the
Code:
apt install pve-headers-5.4
solution, of course, but on question:

the day pbs upgrade to 5.5, and we do a
Code:
apt dist-upgrade
, will
Code:
pve-headers-5.5
be automatically installed?

thanks.
 
Last edited:
no. the problem is that pve-headers (the meta package pulling in the default pve-headers-X.Y, which pulls in the latest header package for that kernel series, just like proxmox-ve pulls in the default pve-kernel-X.Y, which pulls in the actual latest kernel package for that kernel series) is part of the proxmox-ve packaging, and thus not (yet) available in the PBS repos..
 

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!