start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused dpkg: error processing package runit (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of git-daemon-run: git-daemon-run depends on runit; however: Package runit is not configured yet. dpkg: error processing package git-daemon-run (--configure): dependency problems - leaving unconfigured Setting up libcommon-sense-perl (3.74-1build1) ... Setting up libtypes-serialiser-perl (1.0-1) ... Setting up libjson-xs-perl (3.010-2build1) ... Setting up libpackage-stash-xs-perl (0.28-2build2) ... Setting up tla-doc (1.3.5+dfsg1-2) ... Processing triggers for libc-bin (2.23-0ubuntu3) ... No apport report written because the error message indicates its a followup error from a previous failure. Processing triggers for systemd (229-4ubuntu10) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for ufw (0.35-0ubuntu2) ... Errors were encountered while processing: runit git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1)