添加git源不能添加,添加其他源也不行,希望各位大爷指点一下
下面链接是我在网上搜到的有价值的信息,但是不能解决我的问题
http://linux.cn/article-3136-1.html
下面是我的问题截图:
关于ubuntu14.04不能添加源的问题
-
- 帖子: 21
- 注册时间: 2011-12-08 17:35
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 关于ubuntu14.04不能添加源的问题
查一下 是
ppa:git-core/ppa
還是
ppa:git-core/git
ppa:git-core/ppa
還是
ppa:git-core/git
-
- 帖子: 21
- 注册时间: 2011-12-08 17:35
Re: 关于ubuntu14.04不能添加源的问题
我表示这两个 都不行poloshiao 写了:查一下 是
ppa:git-core/ppa
還是
ppa:git-core/git
图如下:
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 关于ubuntu14.04不能添加源的问题
1. 可能是你的網路 或 proxy 或 防火牆 引起的問題
2. 手動加入
2-1. 如果是第一次使用 gksudo 請先安裝 gksu 套件
2-2. gksudo gedit /etc/apt/sources.list.d/git-core-ppa.list
複製下面兩行 貼上
deb http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
儲存
2-3. 安裝 public key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E1DF1F24
2-4. sudo apt-get update
2-5. sudo apt-get install git
將會安裝 1:2.0.2-0ppa1~ubuntu14.04.1 版本
2-6. 參閱
https://launchpad.net/~git-core/+archive/ubuntu/ppa
http://imsardine.simplbug.com/note/apt/ ... s/ppa.html
補充
終端機文字 或 文字檔案內容
直接複製貼上來
只有無法使用複製 或 圖形 才需擷圖
2. 手動加入
2-1. 如果是第一次使用 gksudo 請先安裝 gksu 套件
2-2. gksudo gedit /etc/apt/sources.list.d/git-core-ppa.list
複製下面兩行 貼上
deb http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
儲存
2-3. 安裝 public key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E1DF1F24
2-4. sudo apt-get update
2-5. sudo apt-get install git
將會安裝 1:2.0.2-0ppa1~ubuntu14.04.1 版本
2-6. 參閱
https://launchpad.net/~git-core/+archive/ubuntu/ppa
http://imsardine.simplbug.com/note/apt/ ... s/ppa.html
補充
終端機文字 或 文字檔案內容
直接複製貼上來
只有無法使用複製 或 圖形 才需擷圖