1

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.

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

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

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
  • Why did they remove it then? – Eliter Mar 13 '17 at 22:27

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.