Package: glances Version: 2.11.1-4 Severity: serious Upgrading glances from 2.11.1-3 to 2.11.1-4 fails for me as follows:
Setting up glances (2.11.1-4) ... Installing new version of config file /etc/init.d/glances ... [warn] Stopping Glances server: glances [....] PID file not found ... (warning). failed! invoke-rc.d: initscript glances, action "restart" failed. dpkg: error processing package glances (--configure): installed glances package post-installation script subprocess returned error exit status 1 [...] Errors were encountered while processing: glances [...]E: Sub-process /usr/bin/dpkg returned an error code (1) Setting up glances (2.11.1-4) ... [warn] Stopping Glances server: glances [....] PID file not found ... (warning). failed! invoke-rc.d: initscript glances, action "restart" failed. dpkg: error processing package glances (--configure): installed glances package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: glances My /etc/default/glances: ---8<--- # Default is to launch glances with '-s' option. #DAEMON_ARGS="-s" # Change to 'true' to have glances running at startup RUN="false" --->8--- It seems that /etc/default/glances is no more parsed by the init script (but in contrary to the changelog and in accordance with the policy also not removed), so the init script doesn't know (anymore) that a) glances was meant to not be started and hence can't stop it, and b) glances should not even be started. So please properly migrate settings from /etc/default/glances to whereever these settings are now stored. (Which probably means parsing /etc/default/glances a last time and then calling "update-rc.d" with "defaults-disabled" and then either removing that file or at least renaming it.) Or at least make sure that the package does not fail to upgrade in this case and issue a warning (either via debconf or via NEWS.Debian) that any settings from /etc/default/glances need to be migrated manually. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.15.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages glances depends on: ii adduser 3.117 ii lsb-base 9.20170808 ii node-normalize.css 8.0.0-3 ii python3 3.6.5-3 ii python3-pkg-resources 39.2.0-1 ii python3-psutil 5.4.6-1 Versions of packages glances recommends: ii hddtemp 0.3-beta15-53 ii lm-sensors 1:3.4.0-4 pn python3-bottle <none> ii python3-docker 2.5.1-1 pn python3-influxdb <none> ii python3-matplotlib 2.2.2-4 ii python3-netifaces 0.10.4-1 ii python3-pysnmp4 4.4.3-1 pn python3-pystache <none> Versions of packages glances suggests: pn glances-doc <none> -- no debconf information