为了避免直接使用符号链接,并且只运行一次配置,我建议使用 debconf-set-selections 命令:
debconf-set-selections
echo 'tzdata tzdata/Areas select Europe' | debconf-set-selections echo 'tzdata tzdata/Zones/Europe select Paris' | debconf-set-selections DEBIAN_FRONTEND="noninteractive" apt install -y tzdata