我正在尝试将 USB 设备连接到在 WSL2 下运行的 Ubuntu 20.04 发行版。
问题是当我运行该usbip
命令时,它给出以下消息:
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
Run Code Online (Sandbox Code Playgroud)
我尝试这样做:
$ sudo apt install linux-tools-5.10.16.3-microsoft-standard-WSL2
Run Code Online (Sandbox Code Playgroud)
...但这行不通。它返回以下内容:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-tools-5.10.16.3-microsoft-standard-WSL2
E: Couldn't find any package by …
Run Code Online (Sandbox Code Playgroud)