Your message dated Tue, 18 Feb 2014 13:22:30 +0100
with message-id <20140218122230.ga12...@swift.blarg.de>
and subject line Re: Bug#739410: mpd: new version fails to update with apt-get
update
has caused the Debian Bug report #739410,
regarding mpd: new version fails to update with apt-get update
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
739410: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739410
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mpd
Version: 0.18.7-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
Tried to update to version 0.18.8-1 today and it fails to install giving a dpkg
error code of 1.
Reading changelogs... Done
(Reading database ... 461516 files and directories currently installed.)
Preparing to unpack .../archives/mpd_0.18.8-1_i386.deb ...
/etc/init.d/mpd: 448: /etc/default/mpd: filesystem_charset: not found
[ ok ] Stopping Music Player Daemon: mpd.
/var/lib/dpkg/tmp.ci/preinst: 448: /etc/default/mpd: filesystem_charset: not
found
dpkg: error processing archive /var/cache/apt/archives/mpd_0.18.8-1_i386.deb
(--unpack):
subprocess new pre-installation script returned error exit status 127
insserv: script vboxdrv: service vboxdrv already provided!
/etc/init.d/mpd: 448: /etc/default/mpd: filesystem_charset: not found
[info] Not starting MPD: disabled by /etc/default/mpd..
Errors were encountered while processing:
/var/cache/apt/archives/mpd_0.18.8-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.12-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mpd depends on:
ii adduser 3.113+nmu3
ii init-system-helpers 1.14
ii libadplug-2.2.1-0 2.2.1+dfsg3-0.1
ii libao4 1.1.0-2
ii libasound2 1.0.27.2-3
ii libaudiofile1 0.3.6-2
ii libavahi-client3 0.6.31-4
ii libavahi-common3 0.6.31-4
ii libavcodec54 6:9.11-1
ii libavformat54 6:9.11-1
ii libavutil52 6:9.11-1
ii libbz2-1.0 1.0.6-5
ii libc6 2.17-97
ii libcdio-cdda1 0.83-4.1
ii libcdio-paranoia1 0.83-4.1
ii libcdio13 0.83-4.1
ii libcurl3-gnutls 7.35.0-1
ii libfaad2 2.7-8
ii libflac8 1.3.0-2
ii libfluidsynth1 1.1.6-2
ii libgcc1 1:4.8.2-15
ii libglib2.0-0 2.36.4-1
ii libgme0 0.5.5-2
ii libid3tag0 0.15.1b-10
ii libiso9660-8 0.83-4.1
ii libjack-jackd2-0 [libjack-0.116] 1.9.9.5+20130622git7de15e7a-1
ii libmad0 0.15.1b-8
ii libmikmod2 3.1.16-1
ii libmms0 0.6.2-3
ii libmodplug1 1:0.8.8.4-4
ii libmp3lame0 3.99.5+repack1-3
ii libmpcdec6 2:0.1~r459-4
ii libmpdclient2 2.9-1
ii libmpg123-0 1.16.0-1
ii libogg0 1.3.1-1
ii libopenal1 1:1.14-4
ii libopus0 1.1-1
ii libpulse0 4.0-6+b1
ii libresid-builder0c2a 2.1.1-14
ii libroar2 1.0~beta11-1
ii libsamplerate0 0.1.8-7
ii libshout3 2.3.1-3
ii libsidplay2 2.1.1-14
ii libsidutils0 2.1.1-14
ii libsndfile1 1.0.25-9
ii libsqlite3-0 3.8.2-1
ii libstdc++6 4.8.2-15
ii libsystemd-daemon0 204-6
ii libvorbis0a 1.3.2-1.3
ii libvorbisenc2 1.3.2-1.3
ii libvorbisfile3 1.3.2-1.3
ii libwavpack1 4.70.0-1
ii libwildmidi1 0.2.3.4-2.1
ii libwrap0 7.6.q-25
ii libyajl2 2.0.4-4
ii libzzip-0-13 0.13.62-2
ii lsb-base 4.1+Debian12
mpd recommends no packages.
Versions of packages mpd suggests:
ii ario [mpd-client] 1.5.1-1.1
ii avahi-daemon 0.6.31-4
ii glurp [mpd-client] 0.12.3-1
pn icecast2 <none>
ii mpc [mpd-client] 0.25-1
ii ncmpc [mpd-client] 0.17-1
ii ncmpcpp [mpd-client] 0.5.10-1.1
ii pulseaudio 4.0-6+b1
ii qmpdclient [mpd-client] 1.2.2-2
-- Configuration Files:
/etc/default/mpd changed:
filesystem_charset "UTF-8"
/etc/init.d/mpd changed:
.. /lib/lsb/init-functions
PATH=/sbin:/bin:/usr/sbin:/usr/bin
NAME=mpd
DESC="Music Player Daemon"
DAEMON=/usr/bin/mpd
MPDCONF=/home/boudiccas/.mpd/mpd.conf
START_MPD=false
[ -x "$DAEMON" ] || exit 0
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
if [ -n "$MPD_DEBUG" ]; then
set -x
MPD_OPTS=--verbose
fi
DBFILE=$(sed -n 's/^[[:space:]]*db_file[[:space:]]*"\?\([^"]*\)\"\?/\1/p'
$MPDCONF)
PIDFILE=$(sed -n 's/^[[:space:]]*pid_file[[:space:]]*"\?\([^"]*\)\"\?/\1/p'
$MPDCONF)
mpd_start () {
if [ "$START_MPD" != "true" ]; then
log_action_msg "Not starting MPD: disabled by /etc/default/$NAME".
exit 0
fi
log_daemon_msg "Starting $DESC" "$NAME"
if [ -z "$PIDFILE" -o -z "$DBFILE" ]; then
log_failure_msg \
"$MPDCONF must have db_file and pid_file set; cannot start daemon."
exit 1
fi
PIDDIR=$(dirname "$PIDFILE")
if [ ! -d "$PIDDIR" ]; then
mkdir -m 0755 $PIDDIR
if dpkg-statoverride --list --quiet /run/mpd > /dev/null; then
# if dpkg-statoverride is used update it with permissions there
dpkg-statoverride --force --quiet --update --add $(
dpkg-statoverride --list --quiet /run/mpd ) 2> /dev/null
else
# use defaults
chown mpd:audio $PIDDIR
fi
fi
start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" \
--exec "$DAEMON" -- $MPD_OPTS "$MPDCONF"
log_end_msg $?
}
mpd_stop () {
if [ -z "$PIDFILE" ]; then
log_failure_msg \
"$MPDCONF must have pid_file set; cannot stop daemon."
exit 1
fi
log_daemon_msg "Stopping $DESC" "$NAME"
start-stop-daemon --stop --quiet --oknodo --retry 5 --pidfile "$PIDFILE" \
--exec $DAEMON
log_end_msg $?
}
case "$1" in
start)
mpd_start
;;
stop)
mpd_stop
;;
status)
status_of_proc -p $PIDFILE $DAEMON $NAME
;;
restart|force-reload)
mpd_stop
mpd_start
;;
force-start)
mpd_start
;;
force-restart)
mpd_stop
mpd_start
;;
force-reload)
mpd_stop
mpd_start
;;
*)
echo "Usage: $0 {start|stop|restart|force-reload}"
exit 2
;;
esac
/etc/mpd.conf changed:
input {
plugin "curl"
}
audio_output {
type "alsa"
name "My ALSA Device"
}
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
-- no debconf information
--- End Message ---
--- Begin Message ---
On 2014/02/18 13:18, Sharon Kimble <boudic...@talktalk.net> wrote:
> > Not true. Your /etc/default/mpd is not blank. It contains the same
> > data as your mpd.conf, which is a mistake. This cannot work.
> >
> > This bug report is bogus, unless you can demonstrate the the package
> > has wrongfully copied your /etc/mpd.conf to /etc/default/mpd.
>
> You are right! Line 448 of /etc/default/mpd was *not* commented out,
> everything else was, and when that line is commented out the apt-get
> upgrade continues without a problem!
The real solution is to remove the garbage from your /etc/default/mpd
instead of commenting it out. It never belonged there in the first
place.
Closing the bug report due to PEBCAK.
--- End Message ---