I run sudo apt-get install git-all
in Ubuntu 16.04 and see the following in the end
Setting up runit (2.1.2-3ubuntu1) ...
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
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
runit
git-daemon-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
I get the error after rebooting my system also. It really blocks my whole system.
I run killall update-notifier
. I run sudo apt-get install git-all
but
I get the same error message. I run pgrep -a apt
but get nothing as output. I run pgrep -a update
but get nothing as output.
A bug report about the case here.
- In Grub, Choose Advanced options > Ubuntu (Upstart) Linux kernel 4.22. Doing the same only in terminal without systemd causes the same error.
Why is this error here with runit?