The issue is still there: when I try to apt install git-all on my fresh
Ubuntu 16.04 install, runit crashes with an output similar to
@tony.vandenhaag, without any reference to dconf-tools or any package
other than runit and git-daemon-run.

I found the solution is this thread:
https://forum.peppermintos.com/index.php?topic=5210.0

Apparently, it's a problem with the postinst (post installation) script
in the upstream "runit" package that is attempting to configure runit
for BOTH systemd AND upstart, but though upstart is installed, it's NOT
the active init system so upstarts "/sbin/start runsvdir" fails, the
postinst script throws an error, and dpkg stops the
installation/configuration.

Solution:
- In file /var/lib/dpkg/info/runit.postinst, comment lines 
if [ -x /sbin/start ]; then #provided by upstart
  /sbin/start runsvdir
fi
- Save and quit
- Finish runit installation by running sudo dpkg --configure -a
- Uncomment previously commented lines

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1448164

Title:
  runit cannot be installed (Unable to connect to Upstart: Failed to
  connect to socket /com/ubuntu/upstart: Connection refused)

To manage notifications about this bug go to:
https://bugs.launchpad.net/xpl-perl/+bug/1448164/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to