Reading package lists... Done
Building dependency tree
Reading state information... Done
lirc-x is already the newest version (0.10.1-5.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up lirc (0.10.1-5.2) ...
Job for lircd.service failed because a fatal signal was delivered to the control process.
See "systemctl status lircd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript lircd, action "start" failed.
● lircd.service - Flexible IR remote input/output application support
Loaded: loaded (/lib/systemd/system/lircd.service; disabled; vendor preset: enabled)
Active: failed (Result: signal) since Tue 2019-10-08 14:56:16 EDT; 50ms ago
Docs: man:lircd(8)
http://lirc.org/html/configure.html
Process: 1670 ExecStart=/usr/sbin/lircd --nodaemon (code=killed, signal=SEGV)
Main PID: 1670 (code=killed, signal=SEGV)
Oct 08 14:56:16 raspberrypi systemd[1]: Starting Flexible IR remote input/output application support...
Oct 08 14:56:16 raspberrypi lircd[1670]: Warning: cannot open /etc/lirc/lirc_options.conf
Oct 08 14:56:16 raspberrypi lircd-0.10.1[1670]: Info: lircd: Opening log, level: Info
Oct 08 14:56:16 raspberrypi lircd-0.10.1[1670]: Notice: Version: lircd 0.10.1
Oct 08 14:56:16 raspberrypi lircd-0.10.1[1670]: Notice: System info: Linux raspberrypi 4.19.76-v7+ #1272 SMP Fri Oct 4 14:48:47 BST 2019 armv7l GNU/Linux
Oct 08 14:56:16 raspberrypi systemd[1]: lircd.service: Main process exited, code=killed, status=11/SEGV
Oct 08 14:56:16 raspberrypi systemd[1]: lircd.service: Failed with result 'signal'.
Oct 08 14:56:16 raspberrypi systemd[1]: Failed to start Flexible IR remote input/output application support.
dpkg: error processing package lirc (--configure):
installed lirc package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of lirc-x:
lirc-x depends on lirc (= 0.10.1-5.2); however:
Package lirc is not configured yet.
dpkg: error processing package lirc-x (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
lirc
lirc-x
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~ $