我有一台 Ubuntu 18.04.1 机器双启动 Windows 10,这两个操作系统有时间冲突。以前在我的 ubuntu 16.04 机器上,这个冲突可以很容易地解决timedatectl set-local-rtc 1 — adjust-system-clock,但是这个命令在我的 Ubuntu 18.04 系统上不再起作用。
这是终端输出:
yunhui@hp:~$ timedatectl set-local-rtc 1 --adjust-system-clock
yunhui@hp:~$ timedatectl
Local time: Thu 2018-08-02 16:31:58 CST
Universal time: Thu 2018-08-02 08:31:58 UTC
RTC time: Thu 2018-08-02 08:31:58
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: no
systemd-timesyncd.service active: yes
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode can not be …Run Code Online (Sandbox Code Playgroud)