[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

Sdwdate and headless system?

Hi!
I would like to replace ntp with sdwdate on a headless system. However, when I try to

apt install swdate

I get this output:

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
adwaita-icon-theme at-spi2-core bc bootclockrandomization desktop-file-utils
eject exfat-fuse exfat-utils fuse gdisk glib-networking
glib-networking-common glib-networking-services gsettings-desktop-schemas
gtk-update-icon-cache gvfs gvfs-common gvfs-daemons gvfs-libs helper-scripts
hicolor-icon-theme inotify-tools libaacs0 libatasmart4 libatk-bridge2.0-0
libatk1.0-0 libatk1.0-data libatspi2.0-0 libbdplus0 libblockdev-crypto2
libblockdev-fs2 libblockdev-loop2 libblockdev-part-err2 libblockdev-part2
libblockdev-swap2 libblockdev-utils2 libblockdev2 libbluray2
libcairo-gobject2 libcolord2 libdouble-conversion1 libdrm-amdgpu1
libdrm-nouveau2 libdrm-radeon1 libegl-mesa0 libegl1 libepoxy0 libevdev2
libfontenc1 libfuse2 libgbm1 libgck-1-0 libgcr-base-3-1 libgdk-pixbuf2.0-0
libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgl1 libgl1-mesa-dri
libglapi-mesa libgles2 libglvnd0 libglx-mesa0 libglx0 libgpgme11 libgtk-3-0
libgtk-3-bin libgtk-3-common libgudev-1.0-0 libice6 libinotifytools0
libinput-bin libinput10 libjson-glib-1.0-0 libjson-glib-1.0-common libllvm8
libmtdev1 libntfs-3g883 libparted-fs-resize0 libpcre2-16-0
libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libproxy1v5
libqt5core5a libqt5dbus5 libqt5designer5 libqt5gui5 libqt5help5
libqt5network5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5svg5
libqt5test5 libqt5widgets5 libqt5xml5 librest-0.7-0 librsvg2-2
librsvg2-common libsecret-1-0 libsecret-common libsm6 libsoup-gnome2.4-1
libsoup2.4-1 libudisks2-0 libvolume-key1 libwacom-bin libwacom-common
libwacom2 libwayland-client0 libwayland-cursor0 libwayland-egl1
libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0
libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0
libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-sync1 libxcb-util0
libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcomposite1 libxcursor1
libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxkbcommon-x11-0
libxkbcommon0 libxmu6 libxrandr2 libxshmfence1 libxt6 libxtst6 libxv1
libxxf86dga1 libxxf86vm1 msgcollector ntfs-3g policykit-1 python3-dateutil
python3-gevent python3-greenlet python3-guimessages python3-pyqt5
python3-sdnotify python3-sip python3-socks qt5-gtk-platformtheme
qttranslations5-l10n sdwdate-gui timesanitycheck udisks2
vbox-disable-timesync x11-common x11-utils
Suggested packages:
cdtool setcd gvfs-backends libbluray-bdj colord libparted-dev
qt5-image-formats-plugins qtwayland5 librsvg2-bin python-gevent-doc
python3-gevent-dbg python-greenlet-doc python-greenlet-dev
python3-greenlet-dbg python3-pyqt5-dbg btrfs-progs f2fs-tools mdadm
libblockdev-mdraid2 nilfs-tools reiserfsprogs xfsprogs udftools
udisks2-bcache udisks2-btrfs udisks2-lvm2 udisks2-vdo udisks2-zram
mesa-utils
The following NEW packages will be installed:
adwaita-icon-theme at-spi2-core bc bootclockrandomization desktop-file-utils
eject exfat-fuse exfat-utils fuse gdisk glib-networking
glib-networking-common glib-networking-services gsettings-desktop-schemas
gtk-update-icon-cache gvfs gvfs-common gvfs-daemons gvfs-libs helper-scripts
hicolor-icon-theme inotify-tools libaacs0 libatasmart4 libatk-bridge2.0-0
libatk1.0-0 libatk1.0-data libatspi2.0-0 libbdplus0 libblockdev-crypto2
libblockdev-fs2 libblockdev-loop2 libblockdev-part-err2 libblockdev-part2
libblockdev-swap2 libblockdev-utils2 libblockdev2 libbluray2
libcairo-gobject2 libcolord2 libdouble-conversion1 libdrm-amdgpu1
libdrm-nouveau2 libdrm-radeon1 libegl-mesa0 libegl1 libepoxy0 libevdev2
libfontenc1 libfuse2 libgbm1 libgck-1-0 libgcr-base-3-1 libgdk-pixbuf2.0-0
libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgl1 libgl1-mesa-dri
libglapi-mesa libgles2 libglvnd0 libglx-mesa0 libglx0 libgpgme11 libgtk-3-0
libgtk-3-bin libgtk-3-common libgudev-1.0-0 libice6 libinotifytools0
libinput-bin libinput10 libjson-glib-1.0-0 libjson-glib-1.0-common libllvm8
libmtdev1 libntfs-3g883 libparted-fs-resize0 libpcre2-16-0
libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libproxy1v5
libqt5core5a libqt5dbus5 libqt5designer5 libqt5gui5 libqt5help5
libqt5network5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5svg5
libqt5test5 libqt5widgets5 libqt5xml5 librest-0.7-0 librsvg2-2
librsvg2-common libsecret-1-0 libsecret-common libsm6 libsoup-gnome2.4-1
libsoup2.4-1 libudisks2-0 libvolume-key1 libwacom-bin libwacom-common
libwacom2 libwayland-client0 libwayland-cursor0 libwayland-egl1
libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0
libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0
libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-sync1 libxcb-util0
libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcomposite1 libxcursor1
libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxkbcommon-x11-0
libxkbcommon0 libxmu6 libxrandr2 libxshmfence1 libxt6 libxtst6 libxv1
libxxf86dga1 libxxf86vm1 msgcollector ntfs-3g policykit-1 python3-dateutil
python3-gevent python3-greenlet python3-guimessages python3-pyqt5
python3-sdnotify python3-sip python3-socks qt5-gtk-platformtheme
qttranslations5-l10n sdwdate sdwdate-gui timesanitycheck udisks2
vbox-disable-timesync x11-common x11-utils
0 upgraded, 167 newly installed, 0 to remove and 0 not upgraded.
Need to get 60.8 MB/61.3 MB of archives.
After this operation, 680 MB of additional disk space will be used.

Why do I need so many graphic libraries and packages in order to install sdwdate? Isn’t this supposed to work as a substitute of ntp?

Thanks for your attention.

To fix.

(Or to “fix”.)

sudo apt --no-install-recommends install sdwdate

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
python3-guimessages
Recommended packages:
vbox-disable-timesync timesanitycheck bootclockrandomization sdwdate-gui
The following NEW packages will be installed:
python3-guimessages sdwdate
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 92.7 kB of archives.
After this operation, 223 kB of additional disk space will be used.
Do you want to continue? [Y/n]

It’s due to recommended packages.

1 Like

Excellent. Thanks Patrick.

It may be useful to add a “warning” on the README for those who want to use sdwdate with headless systems.

Cheers

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]