
嘗試安裝 CUPS 後https://project-insanity.org/2022/11/01/use-cups-printing-server-on-windows-10/usbipd使用它涉及安裝 WSL Ubuntu 22.04.2 LTS,然後安裝 usbipdhttps://openprinting.github.io/wsl-printer-app-compile/在 Windows 11 環境中使用 WSL,我遇到了以下障礙:
$usbipd wsl list
WARNING: usbipd not found for kernel 5.15.90.1-microsoft
You may need to install the following packages for this specific kernel:
linux-tools-5.15.90.1-microsoft-standard-WSL2
linux-cloud-tools-5.15.90.1-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
在那條訊息之後,我嘗試安裝兩個推薦的軟體包,但沒有成功:
$sudo apt-get install linux-tools-5.15.90.1-microsoft-standard-WSL2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-tools-5.15.90.1-microsoft-standard-WSL2
E: Couldn't find any package by glob 'linux-tools-5.15.90.1-microsoft-standard-WSL2'
E: Couldn't find any package by regex 'linux-tools-5.15.90.1-microsoft-standard-WSL2'
正如另一個線程中的建議我也嘗試過:
sudo apt install linux-tools-virtual hwdata
sudo update-alternatives --install /usr/local/bin/usbip usbip $(command -v ls /usr/lib/linux-tools/*/usbip | tail -n1) 20
還是沒有運氣
我運行了 Windows 的所有更新,但沒有運氣,也不清楚它是否適用於帶有 WSL 的 Win 11 版本 23H2(作業系統內部版本 22631.2506)。我是否應該或是否可以降級任何組件以使其正常工作,或者還有其他選擇嗎?