How can I force Ubuntu's system clock to pull and update time from a time server?

According to Ubuntu Wiki no longer supports ntpdate command (at least in Ubuntu Desktop LTS 16.04), and I've already tried using timedatectl as a command. That means that this question already answered is no longer useful for LTS 16.04.

  • 2
    Why does timedatectl --adjust-system-clock not resynchronize satisfactorily?
    – M. Becerra
    Mar 13, 2017 at 22:21
  • 1
    M. Becerra, I didn't know that was a solution
    – Eliter
    Mar 13, 2017 at 22:34

1 Answer 1


ntpdate is in the ntpdate package, which you could install via sudo apt install ntpdate. Then read man ntpdate.

As mentioned in the comments, one needs to install the package ntp instead of ntpdate in Ubuntu 18.04+.

Remember to tell ntp to stop before running ntpdate:

sudo /etc/init.d/ntp stop

and start ntp afterwards:

sudo /etc/init.d/ntp start
  • 1
    Why did they remove it then?
    – Eliter
    Mar 13, 2017 at 22:27
  • 1
    on Xubuntu 18.04 i had to install ntp instead of ntpdate - ntpdate is still a package, but it doesn't install the ntp service, but the package named ntp installs the ntp service :o
    – hanshenrik
    Apr 30, 2020 at 9:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.