Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

How to install package for Ubuntu kernel on WSL2

$
0
0

I am trying to attach an usb to my WSL 2 running Ubuntu 20.04.
But there is a problem, then I try to use usbip it prompt the following
message:

WARNING: usbipd not found for kernel 5.10.16.3-microsoft  You may need to install the following packages for this specific kernel:    linux-tools-5.10.16.3-microsoft-standard-WSL2    linux-cloud-tools-5.10.16.3-microsoft-standard-WSL2  You may also want to install one of the following packages to keep up to date:    linux-tools-standard-WSL2    linux-cloud-tools-standard-WSL2

I tried doing $ sudo apt install linux-tools-5.10.16.3-microsoft-standard-WSL2
but it doesn't work and show the following:

Reading package lists... DoneBuilding dependency treeReading state information... DoneE: Unable to locate package linux-tools-5.10.16.3-microsoft-standard-WSL2E: Couldn't find any package by glob 'linux-tools-5.10.16.3-microsoft-standard-WSL2'

I have been googling how to install them, but I can't find
anything about this.

NOTES:

  • Ubuntu installation has been installed around 2 months ago.
  • I am using WSL 2
  • uspip is called by usbipd wsl attach -b 2-2 from PowerShell because I am trying to attach usb device to Ubuntu
  • Kernel version 5.10.16.3-microsoft-standard-WSL2

Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>