On Wed, Dec 17, 2014 at 02:44:21AM +0100, sp113438 wrote: > On Wed, 17 Dec 2014 01:08:03 +0200 > Andrei POPESCU <andreimpope...@gmail.com> wrote: > > > On Ma, 16 dec 14, 17:57:56, sp113438 wrote: > > > Hello, > > > > > > I have a problem with updating mpd and/or systemd. > > > > > > > > > Preparing to unpack .../m/mpd/mpd_0.19.1-1.1_amd64.deb ... > > > Job for mpd.service canceled. > > > invoke-rc.d: initscript mpd, action "stop" failed. > > > dpkg: warning: subprocess old pre-removal script returned error exit > > > status 1 dpkg: trying script from the new package instead ... > > > Job for mpd.service canceled. > > > invoke-rc.d: initscript mpd, action "stop" failed. > > > dpkg: error processing > > > archive /home/debmirror/pool/main/m/mpd/mpd_0.19.1-1.1_amd64.deb > > > (--unpack): subprocess new pre-removal script returned error exit > > > status 1 > > > > Please post the output of > > > > systemctl status mpd > > > > I also noticed that mpd also has a .socket unit. If you something is > > trying to use mpd it will get restarted via the socket. > > > > Kind regards, > > Andrei > > The problem is solved by renaming /usr/bin/mpd , stop mpd and then update. > > The following: > > systemctl stop mpd.service > killall mpd > kill -9 *2600* > mpd --kill > /etc/init.d/mpd stop > > all didn't succeed > > I guess I have to blame systemd.
Really? You "kill -9"ed the process, it failed to stop and you're blaming systemd? I know systemd is the current whipping-boy but that seems harsh to me. First of all, see why mpd is unresponsive (it may be in the 'D' state, which usually indicates that it's waiting for I/O - if that's the case, the process doesn't even notice the kill signal). If you can't kill it, then don't expect systemd to be able to, either. > > Thanks! > > > > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: https://lists.debian.org/20141217024421.19320b03@fx4100 >
signature.asc
Description: Digital signature