При установке git-all я выполнил эти шаги, как это было сделано другими популярными ответами на этом форуме.
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
Reading package lists... Done
Building dependency tree
Reading state information... Done
git-daemon-sysvinit is already the newest version (1:2.7.4-0ubuntu1.3).
The following packages were automatically installed and are no longer required:
fgetty runit
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded.
1 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 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
Errors were encountered while processing:
runit
Я получил указанную выше ошибку.
И следующий, когда я запустил
sudo apt-get 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.3).
The following packages were automatically installed and are no longer required:
fgetty runit
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded.
1 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 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
Errors were encountered while processing:
runit
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Sub-process /usr/bin/dpkg returned an error code (1)
Это были вышеперечисленные ошибки, с которыми я связан. Любые решения?