Package: unattended-upgrades
Version: 0.93.1
Severity: important
Dear Maintainer,
After installation, the unattended-upgrades.service fails to start
correctly and is left in an invalid state :
# systemctl status unattended-upgrades.service
unattended-upgrades.service - Unattended Upgrades Shutdown
Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; enabled;
vendor preset: enabled)
Active: inactive (dead)
Docs: man:unattended-upgrade(8)
This is caused by the fact that the debian/rules's
override_dh_installinit forces an update-rc.d stop which is no longer
supported. It then reverts to update-rc.d default which only applies the
Default-Stop in the SysV script.
When the unit is enabled by systemd, it fails with the following message
since there is no Default-Start :
systemctl enable unattended-upgrades.service
Synchronizing state of unattended-upgrades.service with SysV service
script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
update-rc.d: error: unattended-upgrades Default-Start contains no
runlevels, aborting.
A patch fixing this problem will follow soon.
Please review this patch for inclusion in a new version of the package.
Kind regards,
Louis Bouchard
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.0-67-generic (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=ANSI_X3.4-1968)
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages unattended-upgrades depends on:
ii apt 1.4~rc2
ii apt-utils 1.4~rc2
ii debconf [debconf-2.0] 1.5.60
ii init-system-helpers 1.47
ii lsb-base 9.20161125
ii lsb-release 9.20161125
ii python3 3.5.3-1
ii python3-apt 1.4.0~beta2
ii ucf 3.0036
ii xz-utils 5.2.2-1.2+b1
Versions of packages unattended-upgrades recommends:
ii cron [cron-daemon] 3.0pl1-128+b1
Versions of packages unattended-upgrades suggests:
pn bsd-mailx <none>
ii exim4-daemon-light [mail-transport-agent] 4.89-1
pn needrestart <none>
-- debconf information:
unattended-upgrades/origins_pattern:
"origin=Debian,codename=${distro_codename},label=Debian-Security";
unattended-upgrades/enable_auto_updates: true