Re: Purging Alsa -> invoke-rc.d: initscript alsa, action "stop" failed.
Kevin Mark <kmark+debian-user@pipeline.com> writes:
> You can see what script is failing by looking in
> /var/lib/dpkg/info/<package>.* Although, it seems that the prerm
> (pre-remove) script is trying to shut down alsa by running
> /etc/init.d/alsa stop (may no be correct name). So, you may need to
> do a workaround by putting a 'exit 0' at the top of the script. This
> should allow you to run the scripts with out error. you can also
> try to run dpkg with 'debug' options (man dpkg)
The error occured because rplayd was using the alsa-modules.
dpkg --purge -D10 alsa-modules-2.4.22-1-386
killall -9 rplayd
dpkg --purge -D10 alsa-modules-2.4.22-1-386
Profit
Thank you for the helpful advice.
Niels
--
Niels L Ellegaard http://dirac.ruc.dk/~gnalle/
Reply to: