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

2012-12-28 16:36:31 +08:00
 durden
换了us/cn的源,后已sudo apt-get update,再sudo apt-get install git git-core git-doc,但都是提示Package git has no installation candidate
4409 次点击
所在节点    问与答
4 条回复
durden
2012-12-28 16:38:35 +08:00
现在我的/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
2012-12-28 16:46:26 +08:00
自己编译安装好了,但是还是奇怪为什么源里面没有呢?
raptium
2012-12-28 16:50:04 +08:00
git-core
raptium
2012-12-28 16:50:54 +08:00
git-core 应该就能用了吧

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/56078

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX