Bug#801389: Disabling timedatectl/NTP across package upgrades

Michael Biebl biebl at debian.org
Wed Oct 21 00:38:28 BST 2015


Am 09.10.2015 um 19:33 schrieb Michael Biebl:
> if dpkg --compare-versions "$2" lt "218-11~"; then
>     systemctl enable systemd-timesyncd.service || true
> fi
> 
> The latter should only be run from upgrades older then 218-11 or on new
> installs.
> 
> 
> So for some reason "$2" (the old version) was either empty or lower then
> 218-11.

The root cause for this might be a bug in dpkg:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801156

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151021/e885b208/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list