Installing Linux-Headers-Standard on Ubuntu 20.04 / Wsl2

When I use VBoxManage to create a vm I'm told I need to have linux-headers-generic installed. So I try sudo apt-get install linux-headers-standard and get this message:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-standard

presents another way to do this:

sudo apt install linux-headers-$(uname -r)

Unfortunately, that doesn't work either. Here's what I get:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.19.128-microsoft-standard
E: Couldn't find any package by glob 'linux-headers-4.19.128-microsoft-standard'

Any ideas?

3
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article