I did test with your two additional skeleton scripts in place, and it does not help the problem.
Look at http://women.debian.org/wiki/English/MaintainerScripts for the Upgrading section. Yes after the old prerm fails, it will go into try the prerm for the new one with an argument "failed-upgrade". Unfortunately, there is also still a #DEBHELPER# clause in the prerm that cause it to exit 1 because it still tries to stop the init script. It then proceeds over to postinst with abort-upgrade ( which isn't supported currently ), but that would still lead to a broken package installation.
Martin:
I did test with your two additional skeleton scripts in place, and it does not help the problem.
Look at http:// women.debian. org/wiki/ English/ MaintainerScrip ts for the Upgrading section. Yes after the old prerm fails, it will go into try the prerm for the new one with an argument "failed-upgrade". Unfortunately, there is also still a #DEBHELPER# clause in the prerm that cause it to exit 1 because it still tries to stop the init script. It then proceeds over to postinst with abort-upgrade ( which isn't supported currently ), but that would still lead to a broken package installation.