我使用的是 10提供的Ubuntu,我想通过使用hwclock查看硬件时钟时间,但是我总是会出错。
钟钟
root@DESKTOP:/home/blondinl# hwclock
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --debug option to see the details of our search for an access method.当我使用-调试选项时
root@DESKTOP:/home/blondinl# hwclock -- debug
hwclock from util-linux 2.27.1
hwclock: cannot open /dev/rtc: No such file or directory
No usable clock interface found.
hwclock: Cannot access the Hardware Clock via any known method.我试过使用timedatectl
root@DESKTOP:/home/blondinl# timedatectl
Failed to create bus connection: No such file or directory我在网上搜索了一个答案,但没有找到任何答案。也许是因为我在Windows上使用linux,我不知道。我期待着你的帮助
发布于 2020-11-12 10:18:19
它似乎是一个尚未修复的wsl错误。我今天还在面对它。
https://github.com/microsoft/WSL/issues/5324
https://github.com/microsoft/WSL/issues/4245
对不起,我真的没有时间提供额外的信息或阅读,但也许你可以。
https://stackoverflow.com/questions/55672930
复制相似问题