在Linux下安裝git-all出現錯誤:
Errors were encountered while processing:
git-daemon-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
解決辦法:
sudo apt-get purge runit
sudo apt-get purge git-all
sudo apt-get purge git
sudo apt-get autoremove
sudo apt update
sudo apt-get install git-daemon-sysvinit
sudo apt-get install git-all
轉載:https://askubuntu.com/questions/771839/problem-installing-package-git-all/