Package: mpd
Version: 0.13.0-7
Severity: normal

I installed mpd on a system that lacks a sound card, because I thought
I'd have it installed before going to the back room and installing the
(USB) sound card. I was suprised to find that apt-get install mpd hung
in this situation.

Setting up mpd (0.13.0-7) ...
Stopping Music Player Daemon: mpd failed!
Starting Music Player Daemon: mpd* creating /var/lib/mpd/tag_cache... 
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver 
returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned 
error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned 
error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default

(PS, notice the bogus "failed!" when it tries to stip a mpd that was
not running because this is the first install.)

At this point, ps showed mpd was running, and apparently was just sitting
there and not backgrounding. So I killed it:

/usr/sbin/invoke-rc.d: line 437:  4979 Terminated              
"${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@"
invoke-rc.d: initscript mpd, action "restart" failed.
dpkg: error processing mpd (--configure):
 subprocess post-installation script returned error exit status 143
Setting up qjackctl (0.2.22-2) ...
Errors were encountered while processing:
 mpd

There was nothing in the mpd log files.

I cannot reproduce the hang by starting the init script by hand,
though it does fail strangely:

[EMAIL PROTECTED]:/home/joey/lib>/etc/init.d/mpd start
Starting Music Player Daemon: mpdALSA lib confmisc.c:768:(parse_card) cannot 
find card '0'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver 
returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned 
error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned 
error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default


mpd: asyncns.c:706: handle_response: Assertion `length == resp->length' failed.
/etc/init.d/mpd: line 39:  6971 Aborted                 start-stop-daemon 
--start --quiet --pidfile $PIDFILE --exec $DAEMON -- $MPD_OPTS "$MPDCONF"
 failed!


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mpd depends on:
ii  adduser                 3.105            add and remove users and groups
ii  libao2                  0.8.8-3          Cross Platform Audio Output Librar
ii  libasound2              1.0.15-3         ALSA library
ii  libaudiofile0           0.2.6-7          Open-source version of SGI's audio
ii  libavahi-client3        0.6.22-2         Avahi client library
ii  libavahi-common3        0.6.22-2         Avahi common library
ii  libc6                   2.7-6            GNU C Library: Shared libraries
ii  libfaad0                2.6-1            freeware Advanced Audio Decoder - 
ii  libflac8                1.2.1-1          Free Lossless Audio Codec - runtim
ii  libid3tag0              0.15.1b-10       ID3 tag reading library from the M
ii  libjack0                0.103.0-6        JACK Audio Connection Kit (librari
ii  libmad0                 0.15.1b-2.1      MPEG audio decoder library
ii  libmikmod2              3.1.11-a-6       A portable sound library
ii  libmpcdec3              1.2.2-1          Musepack (MPC) format library
ii  libogg0                 1.1.3-3          Ogg Bitstream Library
ii  libpulse0               0.9.8-2          PulseAudio client libraries
ii  libsamplerate0          0.1.2-5          audio rate conversion library
ii  libshout3               2.2.2-2          MP3/Ogg Vorbis broadcast streaming
ii  libspeex1               1.1.12-3         The Speex Speech Codec
ii  libtheora0              1.0~beta2-3      The Theora Video Compression Codec
ii  libvorbis0a             1.2.0.dfsg-3     The Vorbis General Audio Compressi
ii  libvorbisenc2           1.2.0.dfsg-3     The Vorbis General Audio Compressi
ii  libvorbisfile3          1.2.0.dfsg-3     The Vorbis General Audio Compressi
ii  zlib1g                  1:1.2.3.3.dfsg-8 compression library - runtime

mpd recommends no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to