Bug#1031295: pcp fails to install without systemd

2023-02-16 Thread Andras Korn
Hi, it seems to me that in postinst, instead of if $do_systemd then systemctl start pmcd.service >/dev/null systemctl start pmlogger.service >/dev/null elif which invoke-rc.d >/dev/null 2>&1 then invoke-rc.d pmcd start invoke-rc.d pmlogger start else /etc/init.d/pmcd start

Bug#1031295: pcp fails to install without systemd

2023-02-14 Thread Adrian Bunk
Package: pcp Version: 6.0.2-1 Severity: serious https://piuparts.debian.org/sid/fail/pcp_6.0.2-1.log ... Setting up pcp (6.0.2-1) ... /var/lib/dpkg/info/pcp.postinst: 242: systemctl: not found dpkg: error processing package pcp (--configure): installed pcp package post-installation script