When installing some packages (like RabbitMQ) on Debian/Ubuntu machines, the post-install step defaults to starting the service.
While this is great in most cases, in some cases (when you already have a service running on the needed port for example) this fails which makes apt-get fail completely.
Is there a way to tell apt-get to skip all those post-install steps so it can still install properly?
Note This is not about questions during install, even in interactive sessions these installs fail because the post-install step fails failure is not handled correctly