Timezone changes do not persist

I am running Ubuntu 18.04.3 and changes I make to the timezone do not persist. That is, I make the change and at some point within 5-20 minutes, the clock reverts to UTC time.

I have updated the timezone using the GUI and also via the command line:

sudo timedatectl set-timezone "Pacific/Auckland"
sudo dpkg-reconfigure -f noninteractive tzdata

I’ve also played around with the “Automatic Date/Time” and “Automatic Timezone” settings and it doesn’t make any difference whether they’re on or off.

I can’t find a report for anything similar when searching for this issue online.

Any suggestions for how to investigate or fix this would be appreciated.

Asked By: EdK

||

According to this article:

You don’t need the sudo dpkg-reconfigure -f noninteractive tzdata command and it makes me wonder if it harms things.

Basically just use:

$ timedatectl # lists your current time zone

$ sudo timedatectl set-timezone "Pacific/Auckland"

$ timedatectl # lists your new time zone

If time zone reverts back to UTC, use this command:

sudo dpkg-reconfigure tzdata
Answered By: WinEunuuchs2Unix

Can try using the command below to disable the automatic-timezone change

gsettings set org.gnome.desktop.datetime automatic-timezone false
Answered By: Debo
Categories: Answers Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.