V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
durden
V2EX  ›  问与答

换了几个源了但还是无法在terminal下面安装上git: Package git has no installation candidate

  •  
  •   durden · Dec 28, 2012 · 5355 views
    This topic created in 4879 days ago, the information mentioned may be changed or developed.
    换了us/cn的源,后已sudo apt-get update,再sudo apt-get install git git-core git-doc,但都是提示Package git has no installation candidate
    4 replies    1970-01-01 08:00:00 +08:00
    durden
        1
    durden  
    OP
       Dec 28, 2012
    现在我的/etc/apt/sources.list文件是:

    1 deb http://us.archive.ubuntu.com/ubuntu lucid main restricted universe
    2 deb http://us.archive.ubuntu.com/ubuntu lucid-updates main restricted univer se
    3 deb http://us.archive.ubuntu.com/ubuntu lucid-security main restricted unive rse
    durden
        2
    durden  
    OP
       Dec 28, 2012
    自己编译安装好了,但是还是奇怪为什么源里面没有呢?
    raptium
        3
    raptium  
       Dec 28, 2012 via iPhone
    git-core
    raptium
        4
    raptium  
       Dec 28, 2012 via iPhone
    git-core 应该就能用了吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4169 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 05:12 · PVG 13:12 · LAX 22:12 · JFK 01:12
    ♥ Do have faith in what you're doing.