[Solved] Unable to locate package linux-headers-6.0.15-edge

valk

New Member
Dec 2, 2022
13
0
1
Hi guys.
I've been experiencing random VM + host freezes and spent weeks trying to find a solution, in this thread there was a suggestion to install an pve-edge-kernel and it helped. Now though I have a problem with
#apt-get install linux-headers-`uname -r` build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-6.0.15-edge
E: Couldn't find any package by glob 'linux-headers-6.0.15-edge'
E: Couldn't find any package by regex 'linux-headers-6.0.15-edge'

I am not an experienced linux user so I am struggling at what I need to do? Since I've googled a lot I got a general idea that I need to include some new sources or depositories in /etc/apt/sources.list But which ones? Where do I get them for my kernel?

I did an
apt-get update
apt-get upgrade
and tried a lot of stuff from serching the web and forums and still stuck.

root@prox:~# pveversion -v
proxmox-ve: 7.3-1 (running kernel: 6.0.15-edge)
pve-manager: 7.3-4 (running version: 7.3-4/d69b70d4)
pve-kernel-helper: 7.3-2
pve-kernel-5.15: 7.3-1
pve-kernel-6.0-edge: 6.0.15-1
pve-kernel-6.0.15-edge: 6.0.15-1
pve-kernel-5.15.83-1-pve: 5.15.83-1
pve-kernel-5.15.74-1-pve: 5.15.74-1
ceph-fuse: 15.2.17-pve1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.3
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.3-1
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.3-1
libpve-guest-common-perl: 4.2-3
libpve-http-server-perl: 4.1-5
libpve-storage-perl: 7.3-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.3.2-1
proxmox-backup-file-restore: 2.3.2-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.3
pve-cluster: 7.3-2
pve-container: 4.4-2
pve-docs: 7.3-1
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-7
pve-firmware: 3.6-2
pve-ha-manager: 3.5.1
pve-i18n: 2.8-1
pve-qemu-kvm: 7.1.0-4
pve-xtermjs: 4.16.0-1
qemu-server: 7.3-2
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+2
vncterm: 1.7-1
zfsutils-linux: 2.1.7-pve3
 
I am not familiar with the edge kernels in particular - they are not supported and not provided by Proxmox. our kernel packages ship their headers in the "pve-headers-XXX" packages, not "linux-headers-XXX".
 
If you used the installation method via the repository as described on the GitHub page you linked, I guess: apt install pve-headers-6.0-edge should do it.

It also exists an official opt-in 6.1 kernel: [1].
To install the kernel headers for that one: apt install pve-headers-6.1

[1] https://forum.proxmox.com/threads/opt-in-linux-6-1-kernel-for-proxmox-ve-7-x-available.119483
Looks like that was the
root@prox:~# apt install pve-headers-6.0-edge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
pve-headers-6.0-edge
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,660 B of archives.
After this operation, 20.5 kB of additional disk space will be used.
Get:1 https://dl.cloudsmith.io/public/pve-edge/kernel/deb/debian bullseye/main amd64 pve-headers-6.0-edge all 6.0.15-1 [5,660 B]
Fetched 5,660 B in 1s (4,674 B/s)
Selecting previously unselected package pve-headers-6.0-edge.
(Reading database ... 132258 files and directories currently installed.)
Preparing to unpack .../pve-headers-6.0-edge_6.0.15-1_all.deb ...
Unpacking pve-headers-6.0-edge (6.0.15-1) ...
Setting up pve-headers-6.0-edge (6.0.15-1) ...
thanks!
 

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!