mpd won't properly install untill localhost changed to 127.0.0.1 in /etc/mpd.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Music Player Daemon |
Fix Released
|
Unknown
|
|||
mpd (Debian) |
Fix Released
|
Unknown
|
|||
mpd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Karmic |
Fix Released
|
Medium
|
Alessio Treglia |
Bug Description
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_
Processing triggers for man-db ...
Setting up mpd (0.14.2-2ubuntu1) ...
* Starting Music Player Daemon mpd * creating /var/lib/
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.
Changed in mpd (Ubuntu): | |
assignee: | nobody → andreas-wenning |
status: | Confirmed → In Progress |
Changed in mpd (Debian): | |
status: | Unknown → New |
tags: | added: patch-forwarded-debian |
Changed in mpd (Debian): | |
status: | New → Won't Fix |
Changed in mpd: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in mpd: | |
status: | Unknown → Fix Released |
Changed in mpd (Debian): | |
status: | Won't Fix → Fix Released |
Is there an entry in /etc/hosts for localhost to point to 127.0.0.1 ?