wsl安装问题小结

问题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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值