我正在使用 15.04。
所以我正在使用 git 并安装了标准版本。我设置了 ssh 密钥,并且能够将我的存储库之一克隆到正确的文件夹。一切都很好,然后我决定安装更多软件包是个好主意。我跑了sudo apt-get install git-all
。我正在查看错误代码,现在必须处理暴发户。
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
No apport report written because the error message indicates its a followup error from a previous failure.
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 …
Run Code Online (Sandbox Code Playgroud) 我正在尝试使用以下命令安装 git-all:
sudo apt update
sudo apt install git-all
Run Code Online (Sandbox Code Playgroud)
我得到以下结果:
jonathan@Aristotle:~$ sudo apt install git-all
Reading package lists... Done
Building dependency tree
Reading state information... Done
git-all is already the newest version (1:2.7.4-0ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up runit (2.1.2-3ubuntu1) ...
start: Unable to connect to …
Run Code Online (Sandbox Code Playgroud)