ubuntu 14 为何无法安装 git?
- 0次
- 2021-07-02 16:15:10
- idczone
源为
deb http://mirrors.aliyun.com/ubuntu/ trusty multiverse
deb http://mirrors.163.com/ubuntu/ trusty multiverse
操作日志如下:
http://paste.ubuntu.com/18695970/
试下:
sudo apt-get update
如果有
1. “ Hash sum mismatch ” error and
2. "GPG ERROR"
就执行:
sudo rm -rf /var/lib/apt/lists/*
然后
sudo apto-get clean
sudo apt-get update
答案来源:
http://askubuntu.com/questions/575639/cant-get-anything-to-install-dependency-errors
http://askubuntu.com/questions/41605/trouble-downloading-packages-list-due-to-a-hash-sum-mismatch-error
强烈建议通过源码编译安装
只有 multiverse 是什么鬼
试试 apt-get -f install 修复下依赖关系,然后再执行 apt-get install git