Am affected by the missing sntp binary also.

For reference the Debian bug mentioned in comment #4 is
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793837.

Also note that the workaround mentioned in #15 does not (AFAICT from
https://github.com/ntp-project/ntp/blob/master/ntpdate/ntpdate.c) use
the SNTP protocol, so it does not serve identical function as the sntp
tool.

Installing package rdate will give you the rdate tool which can retrieve time 
using the SNTP protocol using its -n option (-p here for just printing the 
retrieved date): 
$ rdate -n -p ntp.ubuntu.com
Wed May 24 13:14:52 UTC 2017

Also note that on Ubuntu 16.04 by default time synchronization has been
taken over by systemd's timesyncd (man systemd-timesyncd), so neither
package ntp (with execs ntpd and missing sntp) or package ntpdate are
necessary for a machine to synchronize its time against a NTP server.
Read something about that in
https://help.ubuntu.com/lts/serverguide/NTP.html which is a fine
intermingled mess of ntpd and timesyncd instructions.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/1604010

Title:
  sntp missing

Status in ntp package in Ubuntu:
  Triaged
Status in ntp package in Debian:
  Fix Released

Bug description:
  In Ubuntu 16.04, the binary file /usr/bin/sntp is missing from the
  package ntp. The associated man page /usr/share/man/man1/sntp.1.gz is
  still included.

  How to reproduce:

  $ sudo apt-get install ntp
  $ dpkg-query -L ntp | grep sntp
  /usr/share/man/man1/sntp.1.gz

  Expected result:

  /usr/bin/sntp was included in Ubuntu 14.04:

  $ dpkg-query -L ntp | grep sntp
  /usr/bin/sntp
  /usr/share/man/man1/sntp.1.gz

  The sntp program remains a very useful tool for interactively testing
  on the command line the offset of the local clock to a remote NTP
  server (like "ntpdate -qu [ntp-server]" previously). It should be
  included in the same package as its man page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1604010/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to