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
On 16.04 I still had this issue, even after following the uninstall- purge-autoremov e-install (git-all, git and runit). Followed what @JCD(jchd) mentioned and it worked out.
Solution: dpkg/info/ runit.postinst, comment lines
- $ sudo apt install runit # should return error
- In file /var/lib/
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