Package: mpd
Severity: important

This bug was originally reported to Launchpad, for further details please see:
https://bugs.launchpad.net/bugs/332332

The reporter said the following:
I am using Jaunty AMD64 Xubuntu fully updated.

this bug happened in the mpd 0.13 -> 0.14 update.

attempting a normal apt-get install of mpd on Jaunty leads to the following:

$ sudo apt-get install mpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
icecast2
The following NEW packages will be installed:
mpd
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/180kB of archives.
After this operation, 545kB of additional disk space will be used.
Selecting previously deselected package mpd.
(Reading database ... 199197 files and directories currently installed.)
Unpacking mpd (from .../mpd_0.14.2-2ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Setting up mpd (0.14.2-2ubuntu1) ...
* Starting Music Player Daemon mpd * creating /var/lib/mpd/tag_cache...
unable to bind port 6600: Address already in use
maybe MPD is still running?
Trace/breakpoint trap (core dumped)
[fail]
invoke-rc.d: initscript mpd, action "start" failed.
dpkg: error processing mpd (--configure):
subprocess post-installation script returned error exit status 133
Errors were encountered while processing:
mpd
E: Sub-process /usr/bin/dpkg returned an error code (1)

The fix is to edit /etc/mpd.conf and change the bind_to_address from 
"localhost" to "127.0.0.1" - thanks to BwackNinja for the info

after the change a:
sudo dpkg --configure -a
fixes the installation and allows MPD to properly bind to the port.

---------------

As said above, please see the original bug report for getting more information 
about this issue.


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-16-generic (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



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

Reply via email to