I would like to set my timezone to Asia/Kolkata. Here is the error I see on using timedatectl
:
$ sudo timedatectl set-timezone Asia/Kolkata
Failed to set time zone: Invalid or not installed time zone 'Asia/Kolkata'
And here is the output from timedatectl status
:
Local time: Tue 2020-11-03 12:33:38 UTC
Universal time: Tue 2020-11-03 12:33:38 UTC
RTC time: Tue 2020-11-03 12:33:38
Time zone: n/a (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
I am using a valid timezone:
$ timedatectl list-timezones | grep Kolkata
Asia/Kolkata
Looks like my zoneinfo file is messed up:
$ cat /usr/share/zoneinfo/Asia/Kolkata
en_US.UTF-8 UTF-8
en_GB.UTF-8 UTF-8
Please help. Thank you.
timedatectl list-timezones | grep Kolkata
. – terdon Nov 03 '20 at 12:39