[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mpd/systemd problem SOLVED



On Wed, 17 Dec 2014 01:08:03 +0200
Andrei POPESCU <andreimpopescu@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.

Thanks!


 


Reply to: