Ubuntu安装git
来源:互联网 发布:mysql安装后连接不上 编辑:程序博客网 时间:2024/06/03 12:45
Ubuntu 安装 git-all 问题解决方法
1.出现问题按remove都不好使
xie@droid:~$ sudo apt-get remove git-all Reading package lists... DoneBuilding dependency tree Reading state information... DonePackage 'git-all' is not installed, so not removed0 to upgrade, 0 to newly install, 0 to remove and 179 not to upgrade.2 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Setting up runit (2.1.2-3ubuntu1) ...start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refuseddpkg: error processing package runit (--configure): subprocess installed post-installation script returned error exit status 1dpkg: 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 git-daemon-run (--configure): dependency problems - leaving unconfiguredNo apport report written because the error message indicates it's a follow-up error from a previous failure. Errors were encountered while processing: runit git-daemon-runE: Sub-process /usr/bin/dpkg returned an error code (1)
2.用下面的办法,完美解决
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
3.因此,建议不要直接安装git-all,只需要git就好.
阅读全文
0 0
- 【git】ubuntu安装git
- ubuntu 下安装 git
- Ubuntu下安装git
- ubuntu 安装git
- ubuntu安装git
- ubuntu 安装 git
- Ubuntu 安装git服务器
- Git Ubuntu下安装
- ubuntu安装git
- ubuntu安装git
- Ubuntu安装git服务器
- Ubuntu安装git
- ubuntu git 安装
- Ubuntu安装git
- ubuntu 安装Git
- ubuntu下安装git
- ubuntu 安装git
- ubuntu git安装
- RBAC权限管理
- MyBatis中sql片段的定义与引用
- android加密解密算法
- 整合SSH框架及常见问题解决
- JSON的使用
- Ubuntu安装git
- java处理高并发高负载类网站的优化方法
- jstack和线程dump分析
- 新AlphaGo首度揭秘:单机运行,4个TPU,算法更强
- java.lang.AbstractMethodError二级缓存redis小问题1
- 阶乘之和
- CSS基础
- HTML5基础扩展——地理位置、本地存储、缓存
- Java定时器Timer小记