LIRC on Xubuntu 20.04: control process dump core

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 378
Joined: Tue Nov 12, 2013 2:05 am

LIRC on Xubuntu 20.04: control process dump core

Post by peter_b »

Running "apt install lirc" on Xubuntu 20.04.6, fails to install lirc package - and leaves apt in an unclean state:
Setting up lirc (0.10.1-6.1) ...
Job for lircd.service failed because a fatal signal was delivered causing the control process to dump core.
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: core-dump) since Tue 2024-02-27 11:31:32 CET; 9ms ago
Docs: man:lircd(8)
http://lirc.org/html/configure.html
Process: 4003 ExecStart=/usr/sbin/lircd --nodaemon (code=dumped, signal=SEGV)
Main PID: 4003 (code=dumped, signal=SEGV)

Feb 27 11:31:32 video-cube1 systemd[1]: Starting Flexible IR remote input/output application support...
Feb 27 11:31:32 video-cube1 lircd[4003]: Warning: cannot open /etc/lirc/lirc_options.conf
Feb 27 11:31:32 video-cube1 lircd-0.10.1[4003]: Info: lircd: Opening log, level: Info
Feb 27 11:31:32 video-cube1 lircd-0.10.1[4003]: Notice: Version: lircd 0.10.1
Feb 27 11:31:32 video-cube1 lircd-0.10.1[4003]: Notice: System info: Linux video-cube1 5.15.0-87-generic #97~20.04.1-
Ubuntu SMP Thu Oct 5 08:25:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Feb 27 11:31:32 video-cube1 systemd[1]: lircd.service: Main process exited, code=dumped, status=11/SEGV
Feb 27 11:31:32 video-cube1 systemd[1]: lircd.service: Failed with result 'core-dump'.
Feb 27 11:31:32 video-cube1 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
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.12) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
lirc
E: Sub-process /usr/bin/dpkg returned an error code (1)
[SOLUTION]
Make sure "focal-updates" as package source are enabled in /etc/apt/sources.list, like this:

Code: Select all

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
Then revert the broken lirc package installation (apt remove --purge lirc) - and reinstall.
Post Reply