Package: mpd
Version: 0.13.0-6
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I tried upgrading mpd to the latest version in experimental.

I have disabled mpd from starting in /etc/default/mpd, _and_ I have used
update-rc.d to remove the startup/kill symlinks in /etc/rc*.d for mpd (I
run it as my user instead).

When upgrading, the package tries to restart mpd, using /etc/init.d/mpd
restart. This fails, because it tries to stop mpd, which fails.
start-stop-daemon returns 1 - set -e bails - package upgrade fails.

According to debian policy section 9.3.3: 

"Maintainers should use the abstraction layer provided by the update-rc.d
and invoke-rc.d programs to deal with initscripts in their packages'
scripts such as postinst, prerm and postrm."

http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3

I am assuming that if the initscript was converted to use that, then me
removing the /etc/rc*.d symlinks would mean that upgrading mpd wouldn't
try and stop/start it. I would expect similar behaviour for
START_MPD=false too.

There might be some other solution too. IANADD :)

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

Kernel: Linux 2.6.22.071002 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.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-1         Avahi client library
ii  libavahi-common3        0.6.22-1         Avahi common library
ii  libc6                   2.7-5            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-1          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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHhoePwyV9iOAWYiERAmXOAJ9pqmkUaZKmhnoqNWj0PszBYVFYegCfQV1s
RYBCCBjuATb5yffqMjOog9Y=
=WFdI
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to