Bug#1076530: init-system-helpers: Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148.
Gioele Barabucci
gioele at svario.it
Wed Aug 20 22:16:29 BST 2025
Hi,
here is the key part of the traced postinst:
D000002: fork/exec /var/lib/dpkg/info/aptitude.postinst ( configure
0.8.13-7.1 )
+ [ configure = configure ]
+ command -v update-menus
+ [ -x ]
+ [ configure = configure ]
+ deb-systemd-helper unmask aptitude-backup.timer
+ deb-systemd-helper --quiet was-enabled aptitude-backup.timer
+ deb-systemd-helper enable aptitude-backup.timer
+ [ configure = configure ]
+ [ -d /run/systemd/system ]
+ systemctl --system daemon-reload
+ [ -n 0.8.13-7.1 ]
+ _dh_action=restart
+ deb-systemd-invoke restart aptitude-backup.service aptitude-backup.timer
aptitude-backup.service is a disabled or a static unit not running, not
starting it.
systemctl --quiet --system restart aptitude-backup.timer
Job failed. See "journalctl -xe" for details.
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148.
The snippet being executed is "postinst-systemd-restart" [1].
journalctl -xe does not show any line related to this error.
[1]
https://salsa.debian.org/debian/debhelper/-/blob/main/autoscripts/postinst-systemd-restart#L9
Regards,
--
Gioele Barabucci
More information about the Pkg-systemd-maintainers
mailing list