[Pkg-lirc-maint] Bug#872985: [lirc] postinst of lirc fails if systemd is not installed

Lars Kruse devel at sumpfralle.de
Mon Aug 28 23:50:13 UTC 2017


Package: lirc
Version: 0.10.0-2

--- Please enter the report below this line. ---

Hello,

I experienced the same problem after upgrading lirc from v0.9.4c-9 to 
v0.10.0-2.


On 23/08/17 12:34, Alec Leamas wrote:

> hm... don't you have systemd installed? systemd-tmpfiles is an 
> integral part of systemd, seems strange that the script cannot find it.

The following set of related packages is installed on my system:

# dpkg -l | grep -E "(systemd|sysv)" | cut -c 1-60
ii  libsystemd0                          234-2.3
ii  systemd-shim                         10-3
ii  sysv-rc                              2.88dsf-59.9
ii  sysvinit-core                        2.88dsf-59.9
ii  sysvinit-utils                       2.88dsf-59.9

"systemd-tmpfiles" is part of the "systemd" package (not installed).


It looks like it would be sufficient to guard the content of the 
(systemd-related) postinst script with a check for the existence of
"/bin/systemd-tmpfiles".

Thank you!

Cheers,
Lars



More information about the Pkg-lirc-maint mailing list