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
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
2 matches
Mail list logo