We've written a small installer, which will extract a base system archive, and then install additional debs in a chroot environment. I found installation of postgresql-8.3 failed with "invoke-rc.d: initscript postgresql-8.3,action "start" failed". How to avoid stoping/starting a service while installing a service package? How does debian installer take care of it?