Sdwdate has too many unnecessary dependencies

Someone I know wanted to install sdwdate for time synchronization on Debian so they added the Whonix repository and ran apt install sdwdate but it pulled in a bunch of dependencies that aren’t required which broke his install.

A screenshot of them all:

Things like anon-base-files, anon-ws-disable-stacked-tor, vbox-disable-timesync etc. are obviously not needed. anon-ws-disable-stacked-tor disabled Tor which then even broke sdwdate.

Sdwdate should have a much smaller set of dependencies so people can be able to install it without needing everything else.

1 Like

Maybe some Recommends: need to be removed.

Also try --no-install-recommends.

1 Like

Must have been a different command. Tested in Qubes debian-10 TemplateVM.

user@debian-10:~$ sudo apt install sdwdate

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
bootclockrandomization helper-scripts inotify-tools libdouble-conversion1
libinotifytools0 libpcre2-16-0 libqt5core5a libqt5dbus5 libqt5designer5 libqt5gui5
libqt5help5 libqt5network5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite
libqt5svg5 libqt5test5 libqt5widgets5 libqt5xml5 libxcb-icccm4 libxcb-image0
libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1
libxkbcommon-x11-0 msgcollector python3-gevent python3-greenlet
python3-guimessages python3-pyqt5 python3-sdnotify python3-sip python3-socks
python3-stem qt5-gtk-platformtheme qttranslations5-l10n sdwdate-gui
timesanitycheck tor tor-geoipdb torsocks vbox-disable-timesync
Suggested packages:
qt5-image-formats-plugins qtwayland5 python-gevent-doc python3-gevent-dbg
python3-openssl python-greenlet-doc python-greenlet-dev python3-greenlet-dbg
python3-pyqt5-dbg mixmaster torbrowser-launcher tor-arm apparmor-utils obfs4proxy
The following NEW packages will be installed:
bootclockrandomization helper-scripts inotify-tools libdouble-conversion1
libinotifytools0 libpcre2-16-0 libqt5core5a libqt5dbus5 libqt5designer5 libqt5gui5
libqt5help5 libqt5network5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite
libqt5svg5 libqt5test5 libqt5widgets5 libqt5xml5 libxcb-icccm4 libxcb-image0
libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1
libxkbcommon-x11-0 msgcollector python3-gevent python3-greenlet
python3-guimessages python3-pyqt5 python3-sdnotify python3-sip python3-socks
python3-stem qt5-gtk-platformtheme qttranslations5-l10n sdwdate sdwdate-gui
timesanitycheck tor tor-geoipdb torsocks vbox-disable-timesync
0 upgraded, 45 newly installed, 0 to remove and 97 not upgraded.
Need to get 21.7 MB of archives.
After this operation, 90.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Package anon-ws-disable-stacked-tor not listed there.

Must have been a different package.

1 Like

For some reason, installing it on Debian 9 (which he was using) makes it install all those dependencies while installing it on 10 works as expected.

1 Like

stretch repository had older packages. Deliberately not updated since Whonix 14 is deprecated.

stretch repository taken offline a while ago. Helped as a notification mechanism that Whonix 14 is deprecated. Hence users recently asking release upgrade questions.

1 Like