问题1
不知道哪里误操作之后, 进入wsl很慢, 且执行各种命令也很慢
原因
暂时未知
解决
执行 sudo rm -rf /etc/acpi/events
命令, 将该文件夹删除.
参考链接: https://github.com/microsoft/WSL/issues/10322
问题2
使用 sudo apt-get install ubuntu-desktop
安装 ubuntu-desktop 时出现下列错误
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
原因
有些包无法安装了
解决
使用 aptitude
帮忙选择一些解决方案
sudo apt-get install aptitude
sudo aptitude install ubuntu-desktop
参考链接: https://stackoverflow.com/questions/26571326/how-do-i-resolve-the-following-packages-have-unmet-dependencies
问题3
执行 sudo apt install ubuntu-desktop gnome
时出现错误
原因
暂时未知
解决
执行命令: sudo apt-mark hold acpid acpi-support
参考链接: https://github.com/microsoft/WSL/discussions/9350