[Pkg-lirc-maint] Bug#865376: lirc: When upgrading from Jessie to Stretch, an old file /etc/init.d/lirc is not deleted

Mikulas Patocka mikulas at artax.karlin.mff.cuni.cz
Tue Jun 20 20:09:11 UTC 2017

Package: lirc
Version: 0.9.4c-9
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

In Debian Jessie, lirc is started with the /etc/init.d/lirc script
In Debian Stretch, lirc is started with the /etc/init.d/lircd script

When upgrading from Jessie to Stretch, the old script /etc/init.d/lirc is not
leaving the system with two scripts to start lirc. Both of these scripts are
to /etc/rc?.d/ directories, this results in lirc not working and failures being
during shutdown.

The problem goes away if the lirc package in Stretch is purged and re-installed
(the purge
operation deletes both of the scripts in /etc/init.d)

   * What exactly did you do (or not do) that was effective (or

Install lirc in Jessie, configure it, and then upgrade to Stretch

   * What was the outcome of this action?

lirc doesn't work and there are two files in init.d

   * What outcome did you expect instead?

The old file /etc/init.d/lirc should be deleted during the upgrade.

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.72 (SMP w/12 CPU cores; PREEMPT)
Locale: LANG=cs_CZ.utf8, LC_CTYPE=cs_CZ.utf8 (charmap=UTF-8), LANGUAGE=cs_CZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages lirc depends on:
ii  init-system-helpers  1.48
ii  libasound2           1.1.3-5
ii  libc6                2.24-11+deb9u1
ii  libftdi1-2           1.3-2+b2
ii  libgcc1              1:6.3.0-18
ii  liblirc-client0      0.9.4c-9
ii  liblirc0             0.9.4c-9
ii  libportaudio2        19.6.0-1
ii  libstdc++6           6.3.0-18
ii  libsystemd0          232-25
ii  libudev1             232-25
ii  libusb-0.1-4         2:0.1.12-30
ii  libusb-1.0-0         2:1.0.21-1
ii  lsb-base             9.20161125
ii  python3              3.5.3-1

Versions of packages lirc recommends:
pn  gir1.2-vte    <none>
ii  python3-gi    3.22.0-2
pn  python3-yaml  <none>

Versions of packages lirc suggests:
pn  ir-keytable          <none>
pn  lirc-compat-remotes  <none>
pn  lirc-doc             <none>
pn  lirc-drv-irman       <none>
pn  lirc-x               <none>
ii  setserial            2.17-50

-- no debconf information

More information about the Pkg-lirc-maint mailing list