I try to remove wesnoth-server package by using 'apt-get remove wesnoth-server'; but it fails. Then I searched on the forum regarding to this error message. Many people suggest either use apt-get -f install or dpkg --force-overwrite to eliminate this error; unfortunately, none of them work on my case.
when invoking the apt-get -f install it generates error
invoke-rc.d: initscript wesnoth-server, action "stop" failed
I search around in the /etc folder, finding out that there is a script called wesnoth-server located in the /etc/init.d/ dir; and is linked to different runlevel (e.g., rc2.d, etc.). I check the start-stop-daemon by command `which start-stop-daemon` with nothing returns. I believe the problem should be the incomplete state that apt-get record of wesnoth-server, in which related binary files has been removed but the record still exists in its package database. However, I have no idea where this record is located. Maybe I can edit it manually. Or how should I solve this problem?
I appreciate any suggestion.
Thank you very much.