You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package linux-headers-5.15.153.1-microsoft-standard-WSL2 was not found. Maybe an alternative approach is needed.
Actual Behavior
The following error messages are displayed:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-5.15.153.1-microsoft-standard-WSL2
E: Couldn't find any package by glob 'linux-headers-5.15.153.1-microsoft-standard-WSL2'
E: Couldn't find any package by regex 'linux-headers-5.15.153.1-microsoft-standard-WSL2'
The text was updated successfully, but these errors were encountered:
I would like to provide some additional details regarding the issue I reported earlier.
System Information
OS: Windows 11
CPU: Intel i5-12400F
WSL Version: WSL 2
Distro: Ubuntu 24.04 (fresh installation with no other software installed)
Kernel Version:5.15.153.1-microsoft-standard-WSL2 (output of uname -r)
Problem Description
It appears that the uname -r command in WSL 2 returns a kernel version that does not correspond to any available linux-headers package in the repositories. This might be the reason why the linux-headers package cannot be located.
Description
I encountered an issue when trying to install
bpfcc-tools
andlinux-headers
on Ubuntu 24.04 WSL.Steps to Reproduce
sudo apt-get install bpfcc-tools linux-headers-$(uname -r)
The package linux-headers-5.15.153.1-microsoft-standard-WSL2 was not found. Maybe an alternative approach is needed.
Actual Behavior
The following error messages are displayed:
The text was updated successfully, but these errors were encountered: