From 31c81a37ac6dceda0c94ce088b338b6b09afd5a4 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 1 Jun 2017 08:24:12 +0200 Subject: apt.systemd.daily: Pass --dry-run to unattended-upgrade, not -d We want to download stuff: --dry-run Simulation, download but do not install not debug: -d, --debug print debug messages Confusion everywhere! Closes: #863859 --- debian/apt.systemd.daily | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/apt.systemd.daily b/debian/apt.systemd.daily index 0ecbde219..544145077 100755 --- a/debian/apt.systemd.daily +++ b/debian/apt.systemd.daily @@ -453,7 +453,7 @@ if [ "$1" = "update" -o -z "$1" ] ; then fi if which unattended-upgrade >/dev/null 2>&1 && check_stamp $DOWNLOAD_UPGRADEABLE_STAMP $UnattendedUpgradeInterval; then - if unattended-upgrade -d $XUUPOPT; then + if unattended-upgrade --dry-run $XUUPOPT; then update_stamp $DOWNLOAD_UPGRADEABLE_STAMP debug_echo "unattended-upgrade -d (success)" else -- cgit v1.2.3