https://help.ubuntu.com/community/UbuntuTime的“使用命令行(无人值守)”似乎是按问题回答的,但似乎在最新的 Ubuntu (Xenial) 中不起作用。dpkg-reconfigure无论写入什么内容,该命令似乎总是将时区重置为 UTC /etc/timezone。如何在 Ubuntu Xenial 中以编程方式设置默认时区?
dpkg-reconfigure
/etc/timezone
timezone 16.04
16.04 ×1
timezone ×1