Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
clorts
V2EX  ›  Linux

ubuntu 14 为何无法安装 git?

  •  
  •   clorts · Jul 7, 2016 · 3252 views
    This topic created in 3604 days ago, the information mentioned may be changed or developed.
    源为
    deb http://mirrors.aliyun.com/ubuntu/ trusty multiverse
    deb http://mirrors.163.com/ubuntu/ trusty multiverse

    操作日志如下:
    http://paste.ubuntu.com/18695970/
    4 replies    2016-07-19 10:03:08 +08:00
    sfree2005
        1
    sfree2005  
       Jul 8, 2016
    试下:
    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
    kneep
        2
    kneep  
       Jul 8, 2016 via iPhone
    强烈建议通过源码编译安装
    hosiet
        3
    hosiet  
       Jul 8, 2016 via Android
    只有 multiverse 是什么鬼
    likethewind
        4
    likethewind  
       Jul 19, 2016
    试试 apt-get -f install 修复下依赖关系,然后再执行 apt-get install git
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1394 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 17:11 · PVG 01:11 · LAX 10:11 · JFK 13:11
    ♥ Do have faith in what you're doing.