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 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like