as per Petter Reinholdtsen's suggestion (https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=756114#19), adding db_stop in postinst fixed this problem.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1348757 Title: invoke-rc.d gets stuck when trying to start gnukhata-core-engine during post install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1348757/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs