[Bug 364857] Re: package mpd 0.14.2-3ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 134

Twigathy twigathy at gmail.com
Sat Aug 29 15:07:03 UTC 2009


I am seeing the same failed upgrade behavior with Karmic. It seems the
init script does not always kill mpd:

twigathy at corona:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up mpd (0.14.2-3ubuntu3) ...
 * Stopping Music Player Daemon mpd                                      [ OK ] 
 * Starting Music Player Daemon mpd                                             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 "restart" failed.
dpkg: error processing mpd (--configure):
 subprocess installed 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)
twigathy at corona:~$ telnet 127.0.0.1 6600
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
OK MPD 0.14.0
^]

telnet> quit
Connection closed.
twigathy at corona:~$ sudo /etc/init.d/mpd stop
 * Stopping Music Player Daemon mpd                                      [ OK ] 
twigathy at corona:~$ telnet 127.0.0.1 6600
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
OK MPD 0.14.0
^]

telnet> quit
Connection closed.
twigathy at corona:~$ ps -ef | grep mpd
113       2813     1  0 14:57 ?        00:00:00 /usr/bin/mpdscribble --daemon-user mpdscribble --pidfile /var/run/mpdscribble.pid
mpd       2992     1  0 14:57 ?        00:00:00 /usr/bin/mpd /etc/mpd.conf
twigathy  8668  3869  0 16:00 pts/1    00:00:00 grep mpd
twigathy at corona:~$ sudo kill 2992
twigathy at corona:~$ ps -ef | grep mpd
113       2813     1  0 14:57 ?        00:00:00 /usr/bin/mpdscribble --daemon-user mpdscribble --pidfile /var/run/mpdscribble.pid
twigathy  8672  3869  0 16:00 pts/1    00:00:00 grep mpd
twigathy at corona:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up mpd (0.14.2-3ubuntu3) ...
 * Starting Music Player Daemon mpd                                      [ OK ]

-- 
package mpd 0.14.2-3ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 134
https://bugs.launchpad.net/bugs/364857
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list