[Pkg-mpd-maintainers] Bug#1002855: mpd: Installation fails: invoke-rc.d: initscript mpd, action "restart" failed

Eppur Si Muove eppur.si.muove at keemail.me
Thu Dec 30 09:04:30 GMT 2021


Package: mpd
Version: 0.23.5-1+b1
Severity: normal
X-Debbugs-Cc: eppur.si.muove at keemail.me

Hi,

I'm with this new installation of a virtual machine of Debian Testing, using runit as init,
and I wanted to install mpd, but that process returned this:

...
# apt upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências... Pronto
Lendo informação de estado... Pronto
Calculando atualização... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
1 pacotes não totalmente instalados ou removidos.
Depois desta operação, 0 B adicionais de espaço em disco serão usados.
Você quer continuar? [S/n]
Configurando mpd (0.23.5-1+b1) ...
/etc/mpd.conf must have pid_file set; cannot stop daemon. ... failed!
invoke-rc.d: initscript mpd, action "restart" failed.
dpkg: erro ao processar o pacote mpd (--configure):
 o subprocesso instalado, do pacote mpd, o script post-installation retornou erro do status de saída 1
Erros foram encontrados durante o processamento de:
 mpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
...

I tried the following workaround:
 - # reboot
 - uncommented the line aboud PID file in /etc/mpd.conf
 - # mkdir /run/mpd
 - # touch /run/mpd/pid
 - # chown mpd /run/mpd/pid
 - # apt upgrade

And then, this installation could be complete (although the service
couldn't be started - but this is a minor task that the user must do,
by configuring mpd and service on runit), returning:

...
# apt upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências... Pronto
Lendo informação de estado... Pronto
Calculando atualização... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
1 pacotes não totalmente instalados ou removidos.
Depois desta operação, 0 B adicionais de espaço em disco serão usados.
Você quer continuar? [S/n]
Configurando mpd (0.23.5-1+b1) ...
Stopping Music Player Daemon: mpd.
Starting Music Player Daemon: mpdoutput: No 'audio_output' defined in config file
output: Successfully detected a sndio audio device
...

So, I don't know if it happaned because I'm on a virtual machine (qemu-kvm) or because I'm
using runit as init, but I would like to let this reported to help in tests, or if possible
to be implemented in installation process so apt doesn't exit with error.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled

Versions of packages mpd depends on:
ii  adduser                           3.118
ii  init-system-helpers               1.61
ii  libadplug-2.3.3-0                 2.3.3+dfsg-2
ii  libao4                            1.2.2+20180113-1.1
ii  libasound2                        1.2.5.1-1
ii  libaudiofile1                     0.3.6-5
ii  libavahi-client3                  0.8-5
ii  libavahi-common3                  0.8-5
ii  libavcodec58                      7:4.4.1-2+b1
ii  libavformat58                     7:4.4.1-2+b1
ii  libavutil56                       7:4.4.1-2+b1
ii  libbz2-1.0                        1.0.8-5
ii  libc6                             2.33-1
ii  libcdio-cdda2                     10.2+2.0.0-1+b2
ii  libcdio-paranoia2                 10.2+2.0.0-1+b2
ii  libcdio19                         2.1.0-3
ii  libchromaprint1                   1.5.0-2
ii  libcurl3-gnutls                   7.79.1-2
ii  libdbus-1-3                       1.12.20-3
ii  libelogind0 [libsystemd0]         246.9.1-1+debian1
ii  libexpat1                         2.4.2-1
ii  libfaad2                          2.10.0-2
ii  libflac8                          1.3.3-2
ii  libfluidsynth3                    2.2.4-2
ii  libfmt8                           8.0.1+ds1-4
ii  libgcc-s1                         11.2.0-13
ii  libgme0                           0.6.3-2
ii  libicu67                          67.1-7
ii  libid3tag0                        0.15.1b-14
ii  libiso9660-11                     2.1.0-3
ii  libixml10                         1:1.8.4-2
ii  libjack-jackd2-0 [libjack-0.125]  1.9.19~dfsg-2
ii  libjs-sphinxdoc                   4.3.2-1
ii  libmad0                           0.15.1b-10
ii  libmikmod3                        3.3.11.1-6
ii  libmms0                           0.6.4-3
ii  libmodplug1                       1:0.8.9.0-3
ii  libmp3lame0                       3.100-3
ii  libmpcdec6                        2:0.1~r495-2
ii  libmpdclient2                     2.20-1
ii  libmpg123-0                       1.29.3-1
ii  libnfs13                          4.0.0-1
ii  libogg0                           1.3.4-0.1
ii  libopenal1                        1:1.19.1-2
ii  libopenmpt0                       0.5.14-1
ii  libopus0                          1.3.1-0.1
ii  libpcre2-8-0                      10.39-3
ii  libpipewire-0.3-0                 0.3.42-1
ii  libpulse0                         15.0+dfsg1-3
ii  libsamplerate0                    0.2.2-1
ii  libshout3                         2.4.5-1+b1
ii  libsidplayfp6                     2.3.1-1
ii  libsmbclient                      2:4.13.14+dfsg-1+b1
ii  libsndfile1                       1.0.31-2
ii  libsndio7.0                       1.5.0-3
ii  libsoxr0                          0.1.3-4
ii  libsqlite3-0                      3.36.0-2
ii  libstdc++6                        11.2.0-13
ii  libupnp13                         1:1.8.4-2
ii  liburing2                         2.1-2
ii  libvorbis0a                       1.3.7-1
ii  libvorbisenc2                     1.3.7-1
ii  libwavpack1                       5.4.0-1
ii  libwildmidi2                      0.4.3-1
ii  libyajl2                          2.1.0-3
ii  libzzip-0-13                      0.13.72+dfsg.1-1.1
ii  lsb-base                          11.1.0
ii  zlib1g                            1:1.2.11.dfsg-2

mpd recommends no packages.

Versions of packages mpd suggests:
ii  avahi-daemon          0.8-5
pn  icecast2              <none>
ii  ncmpcpp [mpd-client]  0.9.2-2
pn  pulseaudio            <none>

-- no debconf information


More information about the Pkg-mpd-maintainers mailing list