Ubuntu"无法连接到 Upstart: Failed to connect to socket /com/ubuntu/upstart: 拒绝连接"的解决方案

今天从14.04升级到16.04后出现了这个问题:

正在设置 runit (2.1.2-3ubuntu1) ...
start: 无法连接到 Upstart: Failed to connect to socket /com/ubuntu/upstart: 拒绝连接
dpkg: 处理软件包 runit (--configure)时出错:
 子进程 已安装 post-installation 脚本 返回错误状态 1
dpkg: 依赖关系问题使得 git-daemon-run 的配置工作不能继续:
 git-daemon-run 依赖于 runit;然而:
  软件包 runit 尚未配置。

dpkg: 处理软件包 git-daemon-run (--configure)时出错:
 依赖关系问题 - 仍未被配置
因为错误消息指示这是由于上一个问题导致的错误,没有写入 apport 报告。
                                                                    在处理时有错误发生:
 runit
 git-daemon-run


贴一个可用的解决方案:(摘自askubuntu

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 install git
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值