Hello,

I tried to install the kernel header on Kali linux 2022.1 with the following commands:

Code:
# apt update
# apt dist-upgrade
[REBOOT]
# apt install linux-headers-$(uname -r)
But I get:
Code:
E: Unable to locate package linux-headers-5.15.0-kali3-amd64
E: Couldn't find any package by glob 'linux-headers-5.15.0-kali3-amd64'
Note that the `uname -r` commands returns `5.15.0-kali3-amd64`. However, searching for linux-headers gives:

Code:
$ apt search linux-header
(...)
linux-headers-5.16.0-kali6-amd64/kali-rolling 5.16.14-1kali2 amd64
  Header files for Linux 5.16.0-kali6-amd64
(...)
It looks like my kernel is not the most recent one and I guess this is why I have this issue. So how can I installed the linux source for 5.15.0-kali3-amd64 or update to 5.16.0-kali6-amd64?

My /etc/apt/sources.list only contains `deb http://http.kali.org/kali kali-rolling main contrib non-free`

Thank you