On 16.04 I still had this issue, even after following the uninstall-
purge-autoremove-install (git-all, git and runit). Followed what
@JCD(jchd) mentioned and it worked out.

Solution:
- $ sudo apt install runit # should return error
- 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: $ 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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to